# #304285 color: Official Violet

#304285 is rgb(48, 66, 133) in RGB and oklch(40.183% 0.11409 269.402) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304285 |
| RGB | rgb(48, 66, 133) |
| HSL | hsl(227.29, 46.96%, 35.49%) |
| HSB / HSV | hsv(227.29 63.91% 52.16%) |
| HWB | hwb(227.29 18.82% 47.84%) |
| CMYK | cmyk(64% 50% 0% 48%) |
| Lab | lab(29.37 10.41 -40.63) |
| LCH | lch(29.37 41.94 284.37) |
| OKLab | oklab(40.183% -0.00119 -0.11409) |
| OKLCH | oklch(40.183% 0.11409 269.402) |
| Display P3 | color(display-p3 0.20279 0.25683 0.50427) |
| Rec. 2020 | color(rec2020 0.17744 0.19827 0.45154) |
| Adobe RGB | color(a98-rgb 0.22239 0.26629 0.50968) |
| ProPhoto RGB | color(prophoto-rgb 0.22201 0.20382 0.42009) |
| Linear sRGB | color(srgb-linear 0.02956 0.05448 0.23455) |
| XYZ D65 | color(xyz-d65 0.074 0.06218 0.23001) |
| XYZ D50 | color(xyz-d50 0.06743 0.05985 0.17319) |
| SwiftUI | Color(red: 0.188, green: 0.259, blue: 0.522) |
| UIKit | UIColor(red: 0.188, green: 0.259, blue: 0.522, alpha: 1) |
| Flutter / Compose | Color(0xFF304285) |
| Android XML | #304285 |

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

## Tints

#304285, #425492, #54669e, #6879ab, #7c8bb7, #909ec3, #a5b1cf, #bbc4db, #d1d7e7, #e8ebf3

## Shades

#304285, #283873, #212f61, #1a2550, #131c40, #0c1430, #060b21, #030513, #010106, #000001

## Tones

#304285, #32437f, #354479, #374573, #39466d, #3c4767, #3e4761, #41485b, #434855, #46484f

## Harmonies

- Complementary: #304285, #5e4400
- Split: #304285, #733400, #425000
- Analogous: #304285, #004e7e, #52377c
- Triadic: #304285, #7a2a21, #005822
- Tetradic: #304285, #682d65, #5e4400, #005822
- Square: #304285, #762846, #5e4400, #005849
- Monochromatic: #304285, #04003d, #142060, #4f65ab, #7189d2

## Questions about #304285

### What color is #304285?

#304285 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 133), in HSL hsl(227.29, 46.96%, 35.49%) and in OKLCH oklch(40.183% 0.11409 269.402).

### What colors go well with #304285?

The complementary color of #304285 is #5e4400. For a calmer combination use the analogous colors #004e7e and #52377c. The triadic partners are #7a2a21 and #005822.

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

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

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

#304285 is a cool color. In OKLCH its hue is 269 degrees, its lightness 40.2% and its chroma 0.114.
