# #2f3f81 color: Official Violet

#2f3f81 is rgb(47, 63, 129) in RGB and oklch(39.169% 0.11251 270.241) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f3f81 |
| RGB | rgb(47, 63, 129) |
| HSL | hsl(228.29, 46.59%, 34.51%) |
| HSB / HSV | hsv(228.29 63.57% 50.59%) |
| HWB | hwb(228.29 18.43% 49.41%) |
| CMYK | cmyk(64% 51% 0% 49%) |
| Lab | lab(28.19 10.87 -40.06) |
| LCH | lch(28.19 41.51 285.18) |
| OKLab | oklab(39.169% 0.00047 -0.11251) |
| OKLCH | oklch(39.169% 0.11251 270.241) |
| Display P3 | color(display-p3 0.19709 0.24526 0.48896) |
| Rec. 2020 | color(rec2020 0.16947 0.18666 0.43525) |
| Adobe RGB | color(a98-rgb 0.21631 0.25542 0.49451) |
| ProPhoto RGB | color(prophoto-rgb 0.21396 0.19431 0.40477) |
| Linear sRGB | color(srgb-linear 0.02843 0.04971 0.21953) |
| XYZ D65 | color(xyz-d65 0.06912 0.05744 0.21514) |
| XYZ D50 | color(xyz-d50 0.06295 0.05527 0.16198) |
| SwiftUI | Color(red: 0.184, green: 0.247, blue: 0.506) |
| UIKit | UIColor(red: 0.184, green: 0.247, blue: 0.506, alpha: 1) |
| Flutter / Compose | Color(0xFF2F3F81) |
| Android XML | #2F3F81 |

## 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.77:1
- Contrast with black: 2.15:1

## Tints

#2f3f81, #41518e, #53649b, #6776a8, #7b89b4, #8f9cc1, #a5afcd, #bbc3da, #d1d7e6, #e8ebf3

## Shades

#2f3f81, #27356f, #202c5e, #19234e, #121b3e, #0c122e, #060a1f, #030412, #010106, #000001

## Tones

#2f3f81, #31407b, #334175, #354270, #37436a, #3a4464, #3c445e, #3e4558, #414552, #43454c

## Harmonies

- Complementary: #2f3f81, #5a4200
- Split: #2f3f81, #6f3200, #3e4d00
- Analogous: #2f3f81, #004a7b, #503478
- Triadic: #2f3f81, #76271d, #005522
- Tetradic: #2f3f81, #662b61, #5a4200, #005522
- Square: #2f3f81, #732543, #5a4200, #005548
- Monochromatic: #2f3f81, #04003a, #141d5d, #4e61a7, #6f85ce

## Questions about #2f3f81

### What color is #2f3f81?

#2f3f81 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 63, 129), in HSL hsl(228.29, 46.59%, 34.51%) and in OKLCH oklch(39.169% 0.11251 270.241).

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

The complementary color of #2f3f81 is #5a4200. For a calmer combination use the analogous colors #004a7b and #503478. The triadic partners are #76271d and #005522.

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

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

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

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