# #2f4187 color: Official Violet

#2f4187 is rgb(47, 65, 135) in RGB and oklch(40.053% 0.11877 269.537) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f4187 |
| RGB | rgb(47, 65, 135) |
| HSL | hsl(227.73, 48.35%, 35.69%) |
| HSB / HSV | hsv(227.73 65.19% 52.94%) |
| HWB | hwb(227.73 18.43% 47.06%) |
| CMYK | cmyk(65% 52% 0% 47%) |
| Lab | lab(29.13 11.44 -42.25) |
| LCH | lch(29.13 43.77 285.14) |
| OKLab | oklab(40.053% -0.00096 -0.11877) |
| OKLCH | oklch(40.053% 0.11877 269.537) |
| Display P3 | color(display-p3 0.1989 0.25291 0.51158) |
| Rec. 2020 | color(rec2020 0.175 0.19463 0.45926) |
| Adobe RGB | color(a98-rgb 0.21885 0.26266 0.51711) |
| ProPhoto RGB | color(prophoto-rgb 0.22193 0.20121 0.42725) |
| Linear sRGB | color(srgb-linear 0.02843 0.05286 0.24228) |
| XYZ D65 | color(xyz-d65 0.07435 0.06134 0.23715) |
| XYZ D50 | color(xyz-d50 0.06742 0.05891 0.17854) |
| SwiftUI | Color(red: 0.184, green: 0.255, blue: 0.529) |
| UIKit | UIColor(red: 0.184, green: 0.255, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF2F4187) |
| Android XML | #2F4187 |

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

## Tints

#2f4187, #415394, #5366a0, #6778ac, #7b8bb8, #909dc4, #a5b0d0, #bbc4dc, #d1d7e8, #e8ebf3

## Shades

#2f4187, #273775, #202e63, #192551, #121c41, #0c1331, #060b21, #030513, #010106, #000001

## Tones

#2f4187, #314281, #34447b, #364575, #38466e, #3b4668, #3d4762, #40475c, #434755, #45484e

## Harmonies

- Complementary: #2f4187, #5d4400
- Split: #2f4187, #733400, #414f00
- Analogous: #2f4187, #004d80, #52357d
- Triadic: #2f4187, #7b271e, #005820
- Tetradic: #2f4187, #692b66, #5d4400, #005820
- Square: #2f4187, #772546, #5d4400, #005749
- Monochromatic: #2f4187, #04003f, #141f62, #4e64ad, #7088d5

## Questions about #2f4187

### What color is #2f4187?

#2f4187 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 65, 135), in HSL hsl(227.73, 48.35%, 35.69%) and in OKLCH oklch(40.053% 0.11877 269.537).

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

The complementary color of #2f4187 is #5d4400. For a calmer combination use the analogous colors #004d80 and #52357d. The triadic partners are #7b271e and #005820.

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

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

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

#2f4187 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.1% and its chroma 0.119.
