# #2f4082 color: Official Violet

#2f4082 is rgb(47, 64, 130) in RGB and oklch(39.462% 0.11264 269.752) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f4082 |
| RGB | rgb(47, 64, 130) |
| HSL | hsl(227.71, 46.89%, 34.71%) |
| HSB / HSV | hsv(227.71 63.85% 50.98%) |
| HWB | hwb(227.71 18.43% 49.02%) |
| CMYK | cmyk(64% 51% 0% 49%) |
| Lab | lab(28.54 10.54 -40.11) |
| LCH | lch(28.54 41.47 284.72) |
| OKLab | oklab(39.462% -0.00049 -0.11264) |
| OKLCH | oklch(39.462% 0.11264 269.752) |
| Display P3 | color(display-p3 0.19799 0.24909 0.49281) |
| Rec. 2020 | color(rec2020 0.17133 0.19042 0.43936) |
| Adobe RGB | color(a98-rgb 0.21757 0.25904 0.49832) |
| ProPhoto RGB | color(prophoto-rgb 0.21593 0.19732 0.40863) |
| Linear sRGB | color(srgb-linear 0.02843 0.05127 0.22323) |
| XYZ D65 | color(xyz-d65 0.07034 0.05883 0.21885) |
| XYZ D50 | color(xyz-d50 0.06408 0.05661 0.16478) |
| SwiftUI | Color(red: 0.184, green: 0.251, blue: 0.51) |
| UIKit | UIColor(red: 0.184, green: 0.251, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF2F4082) |
| Android XML | #2F4082 |

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

## Tints

#2f4082, #41528f, #53659c, #6777a8, #7b8ab5, #909dc1, #a5b0ce, #bbc3da, #d1d7e7, #e8ebf3

## Shades

#2f4082, #273670, #202d5f, #19244e, #121b3e, #0c132f, #060b20, #030512, #010106, #000001

## Tones

#2f4082, #31417c, #334276, #364371, #38446b, #3a4565, #3d455f, #3f4659, #414653, #44464d

## Harmonies

- Complementary: #2f4082, #5b4200
- Split: #2f4082, #703300, #404e00
- Analogous: #2f4082, #004b7c, #503579
- Triadic: #2f4082, #77281f, #005622
- Tetradic: #2f4082, #662c63, #5b4200, #005622
- Square: #2f4082, #732644, #5b4200, #005648
- Monochromatic: #2f4082, #04003b, #141e5e, #4e62a8, #7086cf

## Questions about #2f4082

### What color is #2f4082?

#2f4082 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 64, 130), in HSL hsl(227.71, 46.89%, 34.71%) and in OKLCH oklch(39.462% 0.11264 269.752).

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

The complementary color of #2f4082 is #5b4200. For a calmer combination use the analogous colors #004b7c and #503579. The triadic partners are #77281f and #005622.

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

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

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

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