# #304284 color: Official Violet

#304284 is rgb(48, 66, 132) in RGB and oklch(40.109% 0.11259 269.328) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304284 |
| RGB | rgb(48, 66, 132) |
| HSL | hsl(227.14, 46.67%, 35.29%) |
| HSB / HSV | hsv(227.14 63.64% 51.76%) |
| HWB | hwb(227.14 18.82% 48.24%) |
| CMYK | cmyk(64% 50% 0% 48%) |
| Lab | lab(29.32 10.11 -40.1) |
| LCH | lch(29.32 41.36 284.15) |
| OKLab | oklab(40.109% -0.00132 -0.11258) |
| OKLCH | oklch(40.109% 0.11259 269.328) |
| Display P3 | color(display-p3 0.20279 0.25683 0.50054) |
| Rec. 2020 | color(rec2020 0.177 0.19816 0.44759) |
| Adobe RGB | color(a98-rgb 0.22239 0.26629 0.50594) |
| ProPhoto RGB | color(prophoto-rgb 0.22102 0.20361 0.41641) |
| Linear sRGB | color(srgb-linear 0.02956 0.05448 0.23074) |
| XYZ D65 | color(xyz-d65 0.07331 0.06191 0.22639) |
| XYZ D50 | color(xyz-d50 0.06689 0.05962 0.17047) |
| SwiftUI | Color(red: 0.188, green: 0.259, blue: 0.518) |
| UIKit | UIColor(red: 0.188, green: 0.259, blue: 0.518, alpha: 1) |
| Flutter / Compose | Color(0xFF304284) |
| Android XML | #304284 |

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

## Tints

#304284, #425491, #54669d, #6878aa, #7c8bb6, #909ec3, #a5b1cf, #bbc4db, #d1d7e7, #e8ebf3

## Shades

#304284, #283872, #212f60, #1a254f, #131c3f, #0c142f, #060b20, #030512, #010106, #000001

## Tones

#304284, #32437e, #354478, #374573, #39466d, #3c4767, #3e4761, #40475b, #434855, #45484e

## Harmonies

- Complementary: #304284, #5d4400
- Split: #304284, #723500, #424f00
- Analogous: #304284, #004d7d, #51377b
- Triadic: #304284, #792a21, #005823
- Tetradic: #304284, #682e65, #5d4400, #005823
- Square: #304284, #752846, #5d4400, #005849
- Monochromatic: #304284, #04003c, #14205f, #4f65aa, #7189d1

## Questions about #304284

### What color is #304284?

#304284 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 132), in HSL hsl(227.14, 46.67%, 35.29%) and in OKLCH oklch(40.109% 0.11259 269.328).

### What colors go well with #304284?

The complementary color of #304284 is #5d4400. For a calmer combination use the analogous colors #004d7d and #51377b. The triadic partners are #792a21 and #005823.

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

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

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

#304284 is a cool color. In OKLCH its hue is 269 degrees, its lightness 40.1% and its chroma 0.113.
