# #304386 color: Official Violet

#304386 is rgb(48, 67, 134) in RGB and oklch(40.475% 0.11423 268.93) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304386 |
| RGB | rgb(48, 67, 134) |
| HSL | hsl(226.74, 47.25%, 35.69%) |
| HSB / HSV | hsv(226.74 64.18% 52.55%) |
| HWB | hwb(226.74 18.82% 47.45%) |
| CMYK | cmyk(64% 50% 0% 47%) |
| Lab | lab(29.73 10.08 -40.68) |
| LCH | lch(29.73 41.91 283.92) |
| OKLab | oklab(40.475% -0.00213 -0.11421) |
| OKLCH | oklch(40.475% 0.11423 268.93) |
| Display P3 | color(display-p3 0.20372 0.26065 0.50812) |
| Rec. 2020 | color(rec2020 0.17933 0.20205 0.45565) |
| Adobe RGB | color(a98-rgb 0.22368 0.26993 0.5135) |
| ProPhoto RGB | color(prophoto-rgb 0.22402 0.20687 0.424) |
| Linear sRGB | color(srgb-linear 0.02956 0.05613 0.2384) |
| XYZ D65 | color(xyz-d65 0.07529 0.06364 0.23387) |
| XYZ D50 | color(xyz-d50 0.06862 0.06127 0.1761) |
| SwiftUI | Color(red: 0.188, green: 0.263, blue: 0.525) |
| UIKit | UIColor(red: 0.188, green: 0.263, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF304386) |
| Android XML | #304386 |

## 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.24:1
- Contrast with black: 2.27:1

## Tints

#304386, #425593, #54679f, #6879ab, #7c8cb8, #909ec4, #a6b1d0, #bbc4dc, #d1d8e7, #e8ebf3

## Shades

#304386, #283974, #212f62, #1a2651, #131d40, #0c1430, #060c21, #030513, #010106, #000001

## Tones

#304386, #324480, #35457a, #374674, #3a476e, #3c4868, #3f4862, #41485c, #444956, #46494f

## Harmonies

- Complementary: #304386, #5f4400
- Split: #304386, #743500, #435000
- Analogous: #304386, #004f7f, #52387d
- Triadic: #304386, #7b2a22, #005922
- Tetradic: #304386, #692e67, #5f4400, #005922
- Square: #304386, #772848, #5f4400, #00594a
- Monochromatic: #304386, #04003e, #142161, #4f66ac, #718ad3

## Questions about #304386

### What color is #304386?

#304386 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 67, 134), in HSL hsl(226.74, 47.25%, 35.69%) and in OKLCH oklch(40.475% 0.11423 268.93).

### What colors go well with #304386?

The complementary color of #304386 is #5f4400. For a calmer combination use the analogous colors #004f7f and #52387d. The triadic partners are #7b2a22 and #005922.

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

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

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

#304386 is a cool color. In OKLCH its hue is 269 degrees, its lightness 40.5% and its chroma 0.114.
