# #304182 color: Official Violet

#304182 is rgb(48, 65, 130) in RGB and oklch(39.743% 0.11094 269.744) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304182 |
| RGB | rgb(48, 65, 130) |
| HSL | hsl(227.56, 46.07%, 34.9%) |
| HSB / HSV | hsv(227.56 63.08% 50.98%) |
| HWB | hwb(227.56 18.82% 49.02%) |
| CMYK | cmyk(63% 50% 0% 49%) |
| Lab | lab(28.9 10.14 -39.52) |
| LCH | lch(28.9 40.8 284.38) |
| OKLab | oklab(39.743% -0.0005 -0.11094) |
| OKLCH | oklch(39.743% 0.11094 269.744) |
| Display P3 | color(display-p3 0.20188 0.253 0.49296) |
| Rec. 2020 | color(rec2020 0.17469 0.19428 0.43954) |
| Adobe RGB | color(a98-rgb 0.22111 0.26266 0.49839) |
| ProPhoto RGB | color(prophoto-rgb 0.21805 0.20036 0.40887) |
| Linear sRGB | color(srgb-linear 0.02956 0.05286 0.22323) |
| XYZ D65 | color(xyz-d65 0.07138 0.0602 0.21906) |
| XYZ D50 | color(xyz-d50 0.06519 0.058 0.16495) |
| SwiftUI | Color(red: 0.188, green: 0.255, blue: 0.51) |
| UIKit | UIColor(red: 0.188, green: 0.255, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF304182) |
| Android XML | #304182 |

## 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.53:1
- Contrast with black: 2.2:1

## Tints

#304182, #42538f, #54659c, #6778a8, #7c8ab5, #909dc1, #a5b0ce, #bbc3da, #d1d7e7, #e8ebf3

## Shades

#304182, #283770, #212e5f, #1a254e, #131c3e, #0c132f, #060b20, #030512, #010106, #000001

## Tones

#304182, #32427c, #344377, #374471, #39456b, #3b4665, #3d465f, #404659, #424753, #44474d

## Harmonies

- Complementary: #304182, #5c4300
- Split: #304182, #703400, #404e00
- Analogous: #304182, #004c7c, #513679
- Triadic: #304182, #772a20, #005723
- Tetradic: #304182, #672d63, #5c4300, #005723
- Square: #304182, #742845, #5c4300, #005649
- Monochromatic: #304182, #04003b, #14205e, #4f63a8, #7187cf

## Questions about #304182

### What color is #304182?

#304182 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 65, 130), in HSL hsl(227.56, 46.07%, 34.9%) and in OKLCH oklch(39.743% 0.11094 269.744).

### What colors go well with #304182?

The complementary color of #304182 is #5c4300. For a calmer combination use the analogous colors #004c7c and #513679. The triadic partners are #772a20 and #005723.

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

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

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

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