# #2f4188 color: Official Violet

#2f4188 is rgb(47, 65, 136) in RGB and oklch(40.129% 0.12026 269.595) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f4188 |
| RGB | rgb(47, 65, 136) |
| HSL | hsl(227.87, 48.63%, 35.88%) |
| HSB / HSV | hsv(227.87 65.44% 53.33%) |
| HWB | hwb(227.87 18.43% 46.67%) |
| CMYK | cmyk(65% 52% 0% 47%) |
| Lab | lab(29.2 11.74 -42.77) |
| LCH | lch(29.2 44.36 285.35) |
| OKLab | oklab(40.129% -0.00085 -0.12025) |
| OKLCH | oklch(40.129% 0.12026 269.595) |
| Display P3 | color(display-p3 0.1989 0.25291 0.51531) |
| Rec. 2020 | color(rec2020 0.17546 0.19474 0.46321) |
| Adobe RGB | color(a98-rgb 0.21885 0.26266 0.52087) |
| ProPhoto RGB | color(prophoto-rgb 0.22295 0.20143 0.43096) |
| Linear sRGB | color(srgb-linear 0.02843 0.05286 0.2462) |
| XYZ D65 | color(xyz-d65 0.07506 0.06162 0.24087) |
| XYZ D50 | color(xyz-d50 0.06798 0.05914 0.18134) |
| SwiftUI | Color(red: 0.184, green: 0.255, blue: 0.533) |
| UIKit | UIColor(red: 0.184, green: 0.255, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF2F4188) |
| Android XML | #2F4188 |

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

## Tints

#2f4188, #415394, #5366a1, #6778ad, #7b8bb9, #909dc5, #a5b1d1, #bbc4dc, #d1d7e8, #e8ebf4

## Shades

#2f4188, #273775, #202e63, #192552, #121c41, #0c1331, #060b22, #030513, #010106, #000001

## Tones

#2f4188, #314282, #34447c, #364575, #39466f, #3b4669, #3e4762, #40475c, #434855, #45484f

## Harmonies

- Complementary: #2f4188, #5d4400
- Split: #2f4188, #733400, #415000
- Analogous: #2f4188, #004d80, #53357e
- Triadic: #2f4188, #7c271d, #005920
- Tetradic: #2f4188, #6a2b67, #5d4400, #005920
- Square: #2f4188, #782446, #5d4400, #00584a
- Monochromatic: #2f4188, #050040, #141f63, #4e64ae, #7088d6

## Questions about #2f4188

### What color is #2f4188?

#2f4188 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 65, 136), in HSL hsl(227.87, 48.63%, 35.88%) and in OKLCH oklch(40.129% 0.12026 269.595).

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

The complementary color of #2f4188 is #5d4400. For a calmer combination use the analogous colors #004d80 and #53357e. The triadic partners are #7c271d and #005920.

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

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

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

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