# #304186 color: Official Violet

#304186 is rgb(48, 65, 134) in RGB and oklch(40.039% 0.11696 270) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304186 |
| RGB | rgb(48, 65, 134) |
| HSL | hsl(228.14, 47.25%, 35.69%) |
| HSB / HSV | hsv(228.14 64.18% 52.55%) |
| HWB | hwb(228.14 18.82% 47.45%) |
| CMYK | cmyk(64% 51% 0% 47%) |
| Lab | lab(29.14 11.35 -41.62) |
| LCH | lch(29.14 43.14 285.26) |
| OKLab | oklab(40.039% 0 -0.11696) |
| OKLCH | oklch(40.039% 0.11696 270) |
| Display P3 | color(display-p3 0.20188 0.253 0.50787) |
| Rec. 2020 | color(rec2020 0.17646 0.19471 0.45533) |
| Adobe RGB | color(a98-rgb 0.22111 0.26266 0.51336) |
| ProPhoto RGB | color(prophoto-rgb 0.22202 0.20121 0.42357) |
| Linear sRGB | color(srgb-linear 0.02956 0.05286 0.2384) |
| XYZ D65 | color(xyz-d65 0.07412 0.0613 0.23348) |
| XYZ D50 | color(xyz-d50 0.06736 0.05892 0.17578) |
| SwiftUI | Color(red: 0.188, green: 0.255, blue: 0.525) |
| UIKit | UIColor(red: 0.188, green: 0.255, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF304186) |
| Android XML | #304186 |

## 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.43:1
- Contrast with black: 2.23:1

## Tints

#304186, #415393, #54669f, #6778ab, #7b8bb8, #909dc4, #a5b0d0, #bbc4dc, #d1d7e8, #e8ebf3

## Shades

#304186, #283774, #212e62, #1a2551, #131c40, #0c1330, #060b21, #030513, #010106, #000001

## Tones

#304186, #324280, #34447a, #374574, #39456e, #3b4668, #3e4761, #40475b, #434755, #45484e

## Harmonies

- Complementary: #304186, #5d4400
- Split: #304186, #733400, #415000
- Analogous: #304186, #004d7f, #52357c
- Triadic: #304186, #7b281e, #005822
- Tetradic: #304186, #692c65, #5d4400, #005822
- Square: #304186, #772645, #5d4400, #00574a
- Monochromatic: #304186, #05003e, #151f61, #4f64ac, #7188d3

## Questions about #304186

### What color is #304186?

#304186 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 65, 134), in HSL hsl(228.14, 47.25%, 35.69%) and in OKLCH oklch(40.039% 0.11696 270).

### What colors go well with #304186?

The complementary color of #304186 is #5d4400. For a calmer combination use the analogous colors #004d7f and #52357c. The triadic partners are #7b281e and #005822.

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

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

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

#304186 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40% and its chroma 0.117.
