# #2f3f84 color: Official Violet

#2f3f84 is rgb(47, 63, 132) in RGB and oklch(39.394% 0.11702 270.397) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f3f84 |
| RGB | rgb(47, 63, 132) |
| HSL | hsl(228.71, 47.49%, 35.1%) |
| HSB / HSV | hsv(228.71 64.39% 51.76%) |
| HWB | hwb(228.71 18.43% 48.24%) |
| CMYK | cmyk(64% 52% 0% 48%) |
| Lab | lab(28.37 11.79 -41.63) |
| LCH | lch(28.37 43.27 285.81) |
| OKLab | oklab(39.394% 0.00081 -0.11702) |
| OKLCH | oklch(39.394% 0.11702 270.397) |
| Display P3 | color(display-p3 0.19709 0.24526 0.50015) |
| Rec. 2020 | color(rec2020 0.17081 0.18698 0.44708) |
| Adobe RGB | color(a98-rgb 0.21631 0.25542 0.50574) |
| ProPhoto RGB | color(prophoto-rgb 0.21695 0.19496 0.41576) |
| Linear sRGB | color(srgb-linear 0.02843 0.04971 0.23074) |
| XYZ D65 | color(xyz-d65 0.07114 0.05825 0.2258) |
| XYZ D50 | color(xyz-d50 0.06455 0.05595 0.16999) |
| SwiftUI | Color(red: 0.184, green: 0.247, blue: 0.518) |
| UIKit | UIColor(red: 0.184, green: 0.247, blue: 0.518, alpha: 1) |
| Flutter / Compose | Color(0xFF2F3F84) |
| Android XML | #2F3F84 |

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

## Tints

#2f3f84, #405291, #53649d, #6677aa, #7b89b6, #8f9cc3, #a5afcf, #bbc3db, #d1d7e7, #e8ebf3

## Shades

#2f3f84, #273572, #202c60, #19234f, #121b3f, #0c122f, #060a20, #030412, #010106, #000001

## Tones

#2f3f84, #31407e, #334278, #354372, #38446c, #3a4466, #3c4560, #3f4559, #414653, #44464d

## Harmonies

- Complementary: #2f3f84, #5a4200
- Split: #2f3f84, #703300, #3e4e00
- Analogous: #2f3f84, #004b7e, #51337a
- Triadic: #2f3f84, #78261c, #005621
- Tetradic: #2f3f84, #672a63, #5a4200, #005621
- Square: #2f3f84, #752443, #5a4200, #005548
- Monochromatic: #2f3f84, #05003c, #141d5f, #4e62aa, #6f86d1

## Questions about #2f3f84

### What color is #2f3f84?

#2f3f84 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 63, 132), in HSL hsl(228.71, 47.49%, 35.1%) and in OKLCH oklch(39.394% 0.11702 270.397).

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

The complementary color of #2f3f84 is #5a4200. For a calmer combination use the analogous colors #004b7e and #51337a. The triadic partners are #78261c and #005621.

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

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

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

#2f3f84 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.4% and its chroma 0.117.
