# #2f4081 color: Official Violet

#2f4081 is rgb(47, 64, 129) in RGB and oklch(39.388% 0.11113 269.683) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f4081 |
| RGB | rgb(47, 64, 129) |
| HSL | hsl(227.56, 46.59%, 34.51%) |
| HSB / HSV | hsv(227.56 63.57% 50.59%) |
| HWB | hwb(227.56 18.43% 49.41%) |
| CMYK | cmyk(64% 50% 0% 49%) |
| Lab | lab(28.48 10.23 -39.58) |
| LCH | lch(28.48 40.88 284.49) |
| OKLab | oklab(39.388% -0.00062 -0.11113) |
| OKLCH | oklch(39.388% 0.11113 269.683) |
| Display P3 | color(display-p3 0.19799 0.24909 0.48909) |
| Rec. 2020 | color(rec2020 0.17089 0.19032 0.43542) |
| Adobe RGB | color(a98-rgb 0.21757 0.25904 0.49458) |
| ProPhoto RGB | color(prophoto-rgb 0.21494 0.19711 0.40498) |
| Linear sRGB | color(srgb-linear 0.02843 0.05127 0.21953) |
| XYZ D65 | color(xyz-d65 0.06968 0.05856 0.21533) |
| XYZ D50 | color(xyz-d50 0.06355 0.05639 0.16214) |
| SwiftUI | Color(red: 0.184, green: 0.251, blue: 0.506) |
| UIKit | UIColor(red: 0.184, green: 0.251, blue: 0.506, alpha: 1) |
| Flutter / Compose | Color(0xFF2F4081) |
| Android XML | #2F4081 |

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

## Tints

#2f4081, #41528e, #53659b, #6777a8, #7b8ab4, #909cc1, #a5b0cd, #bbc3da, #d1d7e6, #e8ebf3

## Shades

#2f4081, #27366f, #202d5e, #19244e, #121b3e, #0c132e, #060b1f, #030512, #010106, #000001

## Tones

#2f4081, #31417b, #334276, #364370, #38446a, #3a4564, #3c455e, #3f4558, #414652, #44464c

## Harmonies

- Complementary: #2f4081, #5b4200
- Split: #2f4081, #6f3300, #3f4d00
- Analogous: #2f4081, #004b7b, #503578
- Triadic: #2f4081, #76291f, #005622
- Tetradic: #2f4081, #662c62, #5b4200, #005622
- Square: #2f4081, #732644, #5b4200, #005548
- Monochromatic: #2f4081, #04003a, #141f5d, #4e62a7, #7086ce

## Questions about #2f4081

### What color is #2f4081?

#2f4081 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 64, 129), in HSL hsl(227.56, 46.59%, 34.51%) and in OKLCH oklch(39.388% 0.11113 269.683).

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

The complementary color of #2f4081 is #5b4200. For a calmer combination use the analogous colors #004b7b and #503578. The triadic partners are #76291f and #005622.

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

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

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

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