# #2f4080 color: Official Violet

#2f4080 is rgb(47, 64, 128) in RGB and oklch(39.314% 0.10962 269.609) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f4080 |
| RGB | rgb(47, 64, 128) |
| HSL | hsl(227.41, 46.29%, 34.31%) |
| HSB / HSV | hsv(227.41 63.28% 50.2%) |
| HWB | hwb(227.41 18.43% 49.8%) |
| CMYK | cmyk(63% 50% 0% 50%) |
| Lab | lab(28.42 9.93 -39.05) |
| LCH | lch(28.42 40.3 284.26) |
| OKLab | oklab(39.314% -0.00075 -0.10962) |
| OKLCH | oklch(39.314% 0.10962 269.609) |
| Display P3 | color(display-p3 0.19799 0.24909 0.48536) |
| Rec. 2020 | color(rec2020 0.17045 0.19021 0.43148) |
| Adobe RGB | color(a98-rgb 0.21757 0.25904 0.49085) |
| ProPhoto RGB | color(prophoto-rgb 0.21396 0.1969 0.40133) |
| Linear sRGB | color(srgb-linear 0.02843 0.05127 0.21586) |
| XYZ D65 | color(xyz-d65 0.06901 0.05829 0.21184) |
| XYZ D50 | color(xyz-d50 0.06303 0.05616 0.15952) |
| SwiftUI | Color(red: 0.184, green: 0.251, blue: 0.502) |
| UIKit | UIColor(red: 0.184, green: 0.251, blue: 0.502, alpha: 1) |
| Flutter / Compose | Color(0xFF2F4080) |
| Android XML | #2F4080 |

## 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

#2f4080, #41528d, #53649a, #6777a7, #7b8ab4, #909cc0, #a5b0cd, #bbc3da, #d1d7e6, #e8ebf3

## Shades

#2f4080, #27366e, #202d5d, #19244d, #121b3d, #0c132e, #060b1f, #030512, #010106, #000001

## Tones

#2f4080, #31417a, #334275, #35436f, #384469, #3a4464, #3c455e, #3f4558, #414652, #43464c

## Harmonies

- Complementary: #2f4080, #5b4200
- Split: #2f4080, #6f3300, #3f4d00
- Analogous: #2f4080, #004b7a, #4f3577
- Triadic: #2f4080, #762920, #005522
- Tetradic: #2f4080, #652c62, #5b4200, #005522
- Square: #2f4080, #722744, #5b4200, #005547
- Monochromatic: #2f4080, #040039, #141f5c, #4e62a6, #7086cd

## Questions about #2f4080

### What color is #2f4080?

#2f4080 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 64, 128), in HSL hsl(227.41, 46.29%, 34.31%) and in OKLCH oklch(39.314% 0.10962 269.609).

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

The complementary color of #2f4080 is #5b4200. For a calmer combination use the analogous colors #004b7a and #4f3577. The triadic partners are #762920 and #005522.

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

White text reads better on #2f4080: 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 #2f4080 a warm or cool color?

#2f4080 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.3% and its chroma 0.11.
