# #304388 color: Official Violet

#304388 is rgb(48, 67, 136) in RGB and oklch(40.623% 0.11722 269.082) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304388 |
| RGB | rgb(48, 67, 136) |
| HSL | hsl(227.05, 47.83%, 36.08%) |
| HSB / HSV | hsv(227.05 64.71% 53.33%) |
| HWB | hwb(227.05 18.82% 46.67%) |
| CMYK | cmyk(65% 51% 0% 47%) |
| Lab | lab(29.85 10.69 -41.72) |
| LCH | lch(29.85 43.07 284.38) |
| OKLab | oklab(40.623% -0.00188 -0.11721) |
| OKLCH | oklch(40.623% 0.11722 269.082) |
| Display P3 | color(display-p3 0.20372 0.26065 0.51557) |
| Rec. 2020 | color(rec2020 0.18022 0.20226 0.46356) |
| Adobe RGB | color(a98-rgb 0.22368 0.26993 0.521) |
| ProPhoto RGB | color(prophoto-rgb 0.22602 0.2073 0.4314) |
| Linear sRGB | color(srgb-linear 0.02956 0.05613 0.2462) |
| XYZ D65 | color(xyz-d65 0.07669 0.0642 0.24128) |
| XYZ D50 | color(xyz-d50 0.06973 0.06174 0.18167) |
| SwiftUI | Color(red: 0.188, green: 0.263, blue: 0.533) |
| UIKit | UIColor(red: 0.188, green: 0.263, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF304388) |
| Android XML | #304388 |

## 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.19:1
- Contrast with black: 2.28:1

## Tints

#304388, #425594, #5467a1, #6879ad, #7c8cb9, #909ec5, #a6b1d1, #bbc4dc, #d1d8e8, #e8ebf4

## Shades

#304388, #283975, #212f63, #1a2652, #131d41, #0c1431, #060c22, #030513, #010106, #000001

## Tones

#304388, #324482, #35457c, #374676, #3a4770, #3c4869, #3f4863, #41495d, #444956, #474950

## Harmonies

- Complementary: #304388, #5f4500
- Split: #304388, #753500, #435100
- Analogous: #304388, #004f81, #53377f
- Triadic: #304388, #7d2921, #005a22
- Tetradic: #304388, #6a2d68, #5f4500, #005a22
- Square: #304388, #782748, #5f4500, #00594a
- Monochromatic: #304388, #040040, #142163, #4f66ae, #718ad6

## Questions about #304388

### What color is #304388?

#304388 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 67, 136), in HSL hsl(227.05, 47.83%, 36.08%) and in OKLCH oklch(40.623% 0.11722 269.082).

### What colors go well with #304388?

The complementary color of #304388 is #5f4500. For a calmer combination use the analogous colors #004f81 and #53377f. The triadic partners are #7d2921 and #005a22.

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

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

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

#304388 is a cool color. In OKLCH its hue is 269 degrees, its lightness 40.6% and its chroma 0.117.
