# #304082 color: Official Violet

#304082 is rgb(48, 64, 130) in RGB and oklch(39.524% 0.11232 270.306) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304082 |
| RGB | rgb(48, 64, 130) |
| HSL | hsl(228.29, 46.07%, 34.9%) |
| HSB / HSV | hsv(228.29 63.08% 50.98%) |
| HWB | hwb(228.29 18.82% 49.02%) |
| CMYK | cmyk(63% 51% 0% 49%) |
| Lab | lab(28.61 10.77 -40) |
| LCH | lch(28.61 41.42 285.07) |
| OKLab | oklab(39.524% 0.0006 -0.11232) |
| OKLCH | oklch(39.524% 0.11232 270.306) |
| Display P3 | color(display-p3 0.20098 0.24918 0.49284) |
| Rec. 2020 | color(rec2020 0.17327 0.19062 0.43938) |
| Adobe RGB | color(a98-rgb 0.21985 0.25904 0.49832) |
| ProPhoto RGB | color(prophoto-rgb 0.21706 0.19755 0.40865) |
| Linear sRGB | color(srgb-linear 0.02956 0.05127 0.22323) |
| XYZ D65 | color(xyz-d65 0.07081 0.05907 0.21887) |
| XYZ D50 | color(xyz-d50 0.06457 0.05686 0.1648) |
| SwiftUI | Color(red: 0.188, green: 0.251, blue: 0.51) |
| UIKit | UIColor(red: 0.188, green: 0.251, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF304082) |
| Android XML | #304082 |

## 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.63:1
- Contrast with black: 2.18:1

## Tints

#304082, #41528f, #54659c, #6777a8, #7b8ab5, #909dc1, #a5b0ce, #bbc3da, #d1d7e7, #e8ebf3

## Shades

#304082, #283670, #212d5f, #1a244e, #131b3e, #0c132f, #060b20, #030512, #010106, #000001

## Tones

#304082, #32417c, #344276, #364371, #38446b, #3b4565, #3d455f, #3f4659, #424653, #44464d

## Harmonies

- Complementary: #304082, #5b4300
- Split: #304082, #703300, #3f4e00
- Analogous: #304082, #004b7c, #513579
- Triadic: #304082, #77291e, #005623
- Tetradic: #304082, #672c62, #5b4300, #005623
- Square: #304082, #742644, #5b4300, #005649
- Monochromatic: #304082, #04003b, #151e5e, #4f62a8, #7186cf

## Questions about #304082

### What color is #304082?

#304082 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 64, 130), in HSL hsl(228.29, 46.07%, 34.9%) and in OKLCH oklch(39.524% 0.11232 270.306).

### What colors go well with #304082?

The complementary color of #304082 is #5b4300. For a calmer combination use the analogous colors #004b7c and #513579. The triadic partners are #77291e and #005623.

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

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

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

#304082 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.5% and its chroma 0.112.
