# #304286 color: Official Violet

#304286 is rgb(48, 66, 134) in RGB and oklch(40.257% 0.11559 269.472) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304286 |
| RGB | rgb(48, 66, 134) |
| HSL | hsl(227.44, 47.25%, 35.69%) |
| HSB / HSV | hsv(227.44 64.18% 52.55%) |
| HWB | hwb(227.44 18.82% 47.45%) |
| CMYK | cmyk(64% 51% 0% 47%) |
| Lab | lab(29.43 10.72 -41.15) |
| LCH | lch(29.43 42.52 284.6) |
| OKLab | oklab(40.257% -0.00106 -0.11559) |
| OKLCH | oklch(40.257% 0.11559 269.472) |
| Display P3 | color(display-p3 0.20279 0.25683 0.50799) |
| Rec. 2020 | color(rec2020 0.17788 0.19837 0.45549) |
| Adobe RGB | color(a98-rgb 0.22239 0.26629 0.51343) |
| ProPhoto RGB | color(prophoto-rgb 0.22301 0.20403 0.42378) |
| Linear sRGB | color(srgb-linear 0.02956 0.05448 0.2384) |
| XYZ D65 | color(xyz-d65 0.0747 0.06246 0.23367) |
| XYZ D50 | color(xyz-d50 0.06798 0.06008 0.17594) |
| SwiftUI | Color(red: 0.188, green: 0.259, blue: 0.525) |
| UIKit | UIColor(red: 0.188, green: 0.259, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF304286) |
| Android XML | #304286 |

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

## Tints

#304286, #425493, #54669f, #6879ab, #7c8bb8, #909ec4, #a5b1d0, #bbc4dc, #d1d7e7, #e8ebf3

## Shades

#304286, #283874, #212f62, #1a2551, #131c40, #0c1430, #060b21, #030513, #010106, #000001

## Tones

#304286, #324380, #35447a, #374574, #39466e, #3c4768, #3e4762, #41485c, #434855, #46484f

## Harmonies

- Complementary: #304286, #5e4400
- Split: #304286, #743400, #425000
- Analogous: #304286, #004e7f, #52367d
- Triadic: #304286, #7b2920, #005922
- Tetradic: #304286, #692d66, #5e4400, #005922
- Square: #304286, #772746, #5e4400, #00584a
- Monochromatic: #304286, #04003e, #152061, #4f65ac, #7189d3

## Questions about #304286

### What color is #304286?

#304286 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 134), in HSL hsl(227.44, 47.25%, 35.69%) and in OKLCH oklch(40.257% 0.11559 269.472).

### What colors go well with #304286?

The complementary color of #304286 is #5e4400. For a calmer combination use the analogous colors #004e7f and #52367d. The triadic partners are #7b2920 and #005922.

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

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

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

#304286 is a cool color. In OKLCH its hue is 269 degrees, its lightness 40.3% and its chroma 0.116.
