# #2f3f82 color: Official Violet

#2f3f82 is rgb(47, 63, 130) in RGB and oklch(39.243% 0.11402 270.297) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2f3f82

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f3f82 |
| RGB | rgb(47, 63, 130) |
| HSL | hsl(228.43, 46.89%, 34.71%) |
| HSB / HSV | hsv(228.43 63.85% 50.98%) |
| HWB | hwb(228.43 18.43% 49.02%) |
| CMYK | cmyk(64% 52% 0% 49%) |
| Lab | lab(28.25 11.18 -40.58) |
| LCH | lch(28.25 42.09 285.4) |
| OKLab | oklab(39.243% 0.00059 -0.11402) |
| OKLCH | oklch(39.243% 0.11402 270.297) |
| Display P3 | color(display-p3 0.19709 0.24526 0.49269) |
| Rec. 2020 | color(rec2020 0.16991 0.18677 0.43919) |
| Adobe RGB | color(a98-rgb 0.21631 0.25542 0.49825) |
| ProPhoto RGB | color(prophoto-rgb 0.21495 0.19453 0.40842) |
| Linear sRGB | color(srgb-linear 0.02843 0.04971 0.22323) |
| XYZ D65 | color(xyz-d65 0.06979 0.05771 0.21866) |
| XYZ D50 | color(xyz-d50 0.06348 0.05549 0.16463) |
| SwiftUI | Color(red: 0.184, green: 0.247, blue: 0.51) |
| UIKit | UIColor(red: 0.184, green: 0.247, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF2F3F82) |
| Android XML | #2F3F82 |

## Facts

- Closest name: Official Violet
- Hue family: Blue, soft dark blue
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.75:1
- Contrast with black: 2.15:1

## Tints

#2f3f82, #41518f, #53649c, #6776a8, #7b89b5, #8f9cc2, #a5afce, #bbc3da, #d1d7e7, #e8ebf3

## Shades

#2f3f82, #273570, #202c5f, #19234e, #121b3e, #0c122f, #060a20, #030412, #010106, #000001

## Tones

#2f3f82, #31407c, #334276, #354270, #38436b, #3a4465, #3c455f, #3e4558, #414552, #43454c

## Harmonies

- Complementary: #2f3f82, #5a4200
- Split: #2f3f82, #6f3200, #3e4d00
- Analogous: #2f3f82, #004b7c, #503479
- Triadic: #2f3f82, #77271d, #005621
- Tetradic: #2f3f82, #662a62, #5a4200, #005621
- Square: #2f3f82, #732543, #5a4200, #005548
- Monochromatic: #2f3f82, #04003b, #141d5e, #4e61a8, #6f85cf

## Questions about #2f3f82

### What color is #2f3f82?

#2f3f82 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 63, 130), in HSL hsl(228.43, 46.89%, 34.71%) and in OKLCH oklch(39.243% 0.11402 270.297).

### What colors go well with #2f3f82?

The complementary color of #2f3f82 is #5a4200. For a calmer combination use the analogous colors #004b7c and #503479. The triadic partners are #77271d and #005621.

### Is white or black text more readable on #2f3f82?

White text reads better on #2f3f82: white gives a contrast ratio of 9.75:1 and black gives 2.15:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2f3f82 a warm or cool color?

#2f3f82 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.2% and its chroma 0.114.
