# #304287 color: Official Violet

#304287 is rgb(48, 66, 135) in RGB and oklch(40.331% 0.11709 269.538) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/304287

## Formats

| Format | Value |
| --- | --- |
| HEX | #304287 |
| RGB | rgb(48, 66, 135) |
| HSL | hsl(227.59, 47.54%, 35.88%) |
| HSB / HSV | hsv(227.59 64.44% 52.94%) |
| HWB | hwb(227.59 18.82% 47.06%) |
| CMYK | cmyk(64% 51% 0% 47%) |
| Lab | lab(29.49 11.02 -41.67) |
| LCH | lch(29.49 43.11 284.82) |
| OKLab | oklab(40.331% -0.00094 -0.11708) |
| OKLCH | oklch(40.331% 0.11709 269.538) |
| Display P3 | color(display-p3 0.20279 0.25683 0.51172) |
| Rec. 2020 | color(rec2020 0.17833 0.19848 0.45944) |
| Adobe RGB | color(a98-rgb 0.22239 0.26629 0.51718) |
| ProPhoto RGB | color(prophoto-rgb 0.22402 0.20425 0.42748) |
| Linear sRGB | color(srgb-linear 0.02956 0.05448 0.24228) |
| XYZ D65 | color(xyz-d65 0.0754 0.06274 0.23736) |
| XYZ D50 | color(xyz-d50 0.06854 0.06032 0.17871) |
| SwiftUI | Color(red: 0.188, green: 0.259, blue: 0.529) |
| UIKit | UIColor(red: 0.188, green: 0.259, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF304287) |
| Android XML | #304287 |

## 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.31:1
- Contrast with black: 2.25:1

## Tints

#304287, #425494, #5466a0, #6779ac, #7c8bb8, #909ec4, #a5b1d0, #bbc4dc, #d1d7e8, #e8ebf3

## Shades

#304287, #283875, #212f63, #1a2551, #131c41, #0c1431, #060b21, #030513, #010106, #000001

## Tones

#304287, #324381, #35457b, #374675, #39466f, #3c4769, #3e4862, #41485c, #434856, #46484f

## Harmonies

- Complementary: #304287, #5e4400
- Split: #304287, #743400, #425000
- Analogous: #304287, #004e80, #53367e
- Triadic: #304287, #7c291f, #005922
- Tetradic: #304287, #6a2d66, #5e4400, #005922
- Square: #304287, #782746, #5e4400, #00584a
- Monochromatic: #304287, #04003f, #152062, #4f65ad, #7189d4

## Questions about #304287

### What color is #304287?

#304287 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 135), in HSL hsl(227.59, 47.54%, 35.88%) and in OKLCH oklch(40.331% 0.11709 269.538).

### What colors go well with #304287?

The complementary color of #304287 is #5e4400. For a calmer combination use the analogous colors #004e80 and #53367e. The triadic partners are #7c291f and #005922.

### Is white or black text more readable on #304287?

White text reads better on #304287: white gives a contrast ratio of 9.31:1 and black gives 2.25:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #304287 a warm or cool color?

#304287 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.3% and its chroma 0.117.
