# #304084 color: Official Violet

#304084 is rgb(48, 64, 132) in RGB and oklch(39.673% 0.11533 270.417) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304084 |
| RGB | rgb(48, 64, 132) |
| HSL | hsl(228.57, 46.67%, 35.29%) |
| HSB / HSV | hsv(228.57 63.64% 51.76%) |
| HWB | hwb(228.57 18.82% 48.24%) |
| CMYK | cmyk(64% 52% 0% 48%) |
| Lab | lab(28.73 11.38 -41.05) |
| LCH | lch(28.73 42.6 285.5) |
| OKLab | oklab(39.673% 0.00084 -0.11533) |
| OKLCH | oklch(39.673% 0.11533 270.417) |
| Display P3 | color(display-p3 0.20098 0.24918 0.50029) |
| Rec. 2020 | color(rec2020 0.17415 0.19083 0.44727) |
| Adobe RGB | color(a98-rgb 0.21985 0.25904 0.5058) |
| ProPhoto RGB | color(prophoto-rgb 0.21904 0.19798 0.41599) |
| Linear sRGB | color(srgb-linear 0.02956 0.05127 0.23074) |
| XYZ D65 | color(xyz-d65 0.07217 0.05961 0.22601) |
| XYZ D50 | color(xyz-d50 0.06565 0.05732 0.17016) |
| SwiftUI | Color(red: 0.188, green: 0.251, blue: 0.518) |
| UIKit | UIColor(red: 0.188, green: 0.251, blue: 0.518, alpha: 1) |
| Flutter / Compose | Color(0xFF304084) |
| Android XML | #304084 |

## 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.58:1
- Contrast with black: 2.19:1

## Tints

#304084, #415291, #54659d, #6777aa, #7b8ab6, #909dc3, #a5b0cf, #bbc3db, #d1d7e7, #e8ebf3

## Shades

#304084, #283672, #212d60, #1a244f, #131b3f, #0c132f, #060b20, #030512, #010106, #000001

## Tones

#304084, #32417e, #344378, #364472, #39446c, #3b4566, #3d4660, #40465a, #424654, #44474d

## Harmonies

- Complementary: #304084, #5b4300
- Split: #304084, #713300, #3f4f00
- Analogous: #304084, #004c7e, #52357a
- Triadic: #304084, #79281d, #005722
- Tetradic: #304084, #682b63, #5b4300, #005722
- Square: #304084, #752544, #5b4300, #005649
- Monochromatic: #304084, #05003c, #151e5f, #4f63aa, #7187d1

## Questions about #304084

### What color is #304084?

#304084 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 64, 132), in HSL hsl(228.57, 46.67%, 35.29%) and in OKLCH oklch(39.673% 0.11533 270.417).

### What colors go well with #304084?

The complementary color of #304084 is #5b4300. For a calmer combination use the analogous colors #004c7e and #52357a. The triadic partners are #79281d and #005722.

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

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

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

#304084 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.7% and its chroma 0.115.
