# #2c4287 color: Official Violet

#2c4287 is rgb(44, 66, 135) in RGB and oklch(40.096% 0.1184 267.535) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2c4287 |
| RGB | rgb(44, 66, 135) |
| HSL | hsl(225.49, 50.84%, 35.1%) |
| HSB / HSV | hsv(225.49 67.41% 52.94%) |
| HWB | hwb(225.49 17.25% 47.06%) |
| CMYK | cmyk(67% 51% 0% 47%) |
| Lab | lab(29.25 10.15 -42.08) |
| LCH | lch(29.25 43.29 283.55) |
| OKLab | oklab(40.096% -0.00509 -0.11829) |
| OKLCH | oklch(40.096% 0.1184 267.535) |
| Display P3 | color(display-p3 0.19106 0.25648 0.51164) |
| Rec. 2020 | color(rec2020 0.17092 0.19774 0.45936) |
| Adobe RGB | color(a98-rgb 0.21356 0.26629 0.51718) |
| ProPhoto RGB | color(prophoto-rgb 0.21973 0.2034 0.4274) |
| Linear sRGB | color(srgb-linear 0.02519 0.05448 0.24228) |
| XYZ D65 | color(xyz-d65 0.0736 0.06181 0.23728) |
| XYZ D50 | color(xyz-d50 0.06663 0.05935 0.17865) |
| SwiftUI | Color(red: 0.173, green: 0.259, blue: 0.529) |
| UIKit | UIColor(red: 0.173, green: 0.259, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF2C4287) |
| Android XML | #2C4287 |

## 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.39:1
- Contrast with black: 2.24:1

## Tints

#2c4287, #3e5494, #5167a0, #6579ac, #798bb8, #8e9ec4, #a4b1d0, #bac4dc, #d1d7e8, #e8ebf3

## Shades

#2c4287, #253875, #1e2f63, #172551, #111c41, #0a1431, #050b21, #020513, #010106, #000001

## Tones

#2c4287, #2f4381, #31447b, #344575, #37466e, #3a4768, #3d4762, #3f485c, #424855, #45484f

## Harmonies

- Complementary: #2c4287, #5f4300
- Split: #2c4287, #753200, #444f00
- Analogous: #2c4287, #004e7d, #50367f
- Triadic: #2c4287, #7b2721, #00581d
- Tetradic: #2c4287, #682c68, #5f4300, #00581d
- Square: #2c4287, #772548, #5f4300, #005847
- Monochromatic: #2c4287, #03003f, #102062, #4b65ad, #6d89d5

## Questions about #2c4287

### What color is #2c4287?

#2c4287 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(44, 66, 135), in HSL hsl(225.49, 50.84%, 35.1%) and in OKLCH oklch(40.096% 0.1184 267.535).

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

The complementary color of #2c4287 is #5f4300. For a calmer combination use the analogous colors #004e7d and #50367f. The triadic partners are #7b2721 and #00581d.

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

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

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

#2c4287 is a cool color. In OKLCH its hue is 268 degrees, its lightness 40.1% and its chroma 0.118.
