# #2f427e color: Official Violet

#2f427e is rgb(47, 66, 126) in RGB and oklch(39.616% 0.10384 268.192) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f427e |
| RGB | rgb(47, 66, 126) |
| HSL | hsl(225.57, 45.66%, 33.92%) |
| HSB / HSV | hsv(225.57 62.7% 49.41%) |
| HWB | hwb(225.57 18.43% 50.59%) |
| CMYK | cmyk(63% 48% 0% 51%) |
| Lab | lab(28.91 8.05 -37.03) |
| LCH | lch(28.91 37.9 282.26) |
| OKLab | oklab(39.616% -0.00328 -0.10379) |
| OKLCH | oklch(39.616% 0.10384 268.192) |
| Display P3 | color(display-p3 0.19983 0.25674 0.47818) |
| Rec. 2020 | color(rec2020 0.1725 0.19736 0.42396) |
| Adobe RGB | color(a98-rgb 0.22014 0.26629 0.48353) |
| ProPhoto RGB | color(prophoto-rgb 0.21404 0.20214 0.39451) |
| Linear sRGB | color(srgb-linear 0.02843 0.05448 0.20864) |
| XYZ D65 | color(xyz-d65 0.06886 0.06007 0.20536) |
| XYZ D50 | color(xyz-d50 0.06323 0.05803 0.15467) |
| SwiftUI | Color(red: 0.184, green: 0.259, blue: 0.494) |
| UIKit | UIColor(red: 0.184, green: 0.259, blue: 0.494, alpha: 1) |
| Flutter / Compose | Color(0xFF2F427E) |
| Android XML | #2F427E |

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

## Tints

#2f427e, #41548b, #546698, #6778a5, #7b8bb2, #909dbf, #a5b0cc, #bbc4d9, #d1d7e5, #e8ebf2

## Shades

#2f427e, #27386d, #202f5c, #19254c, #121c3c, #0c142d, #060b1f, #030511, #010105, #000001

## Tones

#2f427e, #314379, #344473, #36456e, #384568, #3b4663, #3d465d, #3f4658, #424652, #44474c

## Harmonies

- Complementary: #2f427e, #5d4200
- Split: #2f427e, #6e3500, #424d00
- Analogous: #2f427e, #004c77, #4e3876
- Triadic: #2f427e, #742c25, #105524
- Tetradic: #2f427e, #642f62, #5d4200, #105524
- Square: #2f427e, #712a46, #5d4200, #005647
- Monochromatic: #2f427e, #030037, #13215a, #4e64a4, #7088ca

## Questions about #2f427e

### What color is #2f427e?

#2f427e is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 66, 126), in HSL hsl(225.57, 45.66%, 33.92%) and in OKLCH oklch(39.616% 0.10384 268.192).

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

The complementary color of #2f427e is #5d4200. For a calmer combination use the analogous colors #004c77 and #4e3876. The triadic partners are #742c25 and #105524.

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

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

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

#2f427e is a cool color. In OKLCH its hue is 268 degrees, its lightness 39.6% and its chroma 0.104.
