# #304188 color: Official Violet

#304188 is rgb(48, 65, 136) in RGB and oklch(40.19% 0.11994 270.104) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304188 |
| RGB | rgb(48, 65, 136) |
| HSL | hsl(228.41, 47.83%, 36.08%) |
| HSB / HSV | hsv(228.41 64.71% 53.33%) |
| HWB | hwb(228.41 18.82% 46.67%) |
| CMYK | cmyk(65% 52% 0% 47%) |
| Lab | lab(29.26 11.97 -42.67) |
| LCH | lch(29.26 44.31 285.67) |
| OKLab | oklab(40.19% 0.00022 -0.11994) |
| OKLCH | oklch(40.19% 0.11994 270.104) |
| Display P3 | color(display-p3 0.20188 0.253 0.51533) |
| Rec. 2020 | color(rec2020 0.17736 0.19493 0.46323) |
| Adobe RGB | color(a98-rgb 0.22111 0.26266 0.52087) |
| ProPhoto RGB | color(prophoto-rgb 0.22405 0.20165 0.43098) |
| Linear sRGB | color(srgb-linear 0.02956 0.05286 0.2462) |
| XYZ D65 | color(xyz-d65 0.07553 0.06186 0.24089) |
| XYZ D50 | color(xyz-d50 0.06847 0.0594 0.18136) |
| SwiftUI | Color(red: 0.188, green: 0.255, blue: 0.533) |
| UIKit | UIColor(red: 0.188, green: 0.255, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF304188) |
| Android XML | #304188 |

## 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.39:1
- Contrast with black: 2.24:1

## Tints

#304188, #415394, #5466a1, #6778ad, #7b8bb9, #909dc5, #a5b0d1, #bbc4dc, #d1d7e8, #e8ebf4

## Shades

#304188, #283775, #212e63, #1a2552, #131c41, #0c1331, #060b22, #030513, #010106, #000001

## Tones

#304188, #324282, #34447c, #374575, #39466f, #3c4669, #3e4763, #40475c, #434856, #46484f

## Harmonies

- Complementary: #304188, #5d4400
- Split: #304188, #733400, #415000
- Analogous: #304188, #004d81, #53357e
- Triadic: #304188, #7c271d, #005921
- Tetradic: #304188, #6a2b66, #5d4400, #005921
- Square: #304188, #782545, #5d4400, #00584a
- Monochromatic: #304188, #050040, #151f63, #4f64ae, #7188d6

## Questions about #304188

### What color is #304188?

#304188 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 65, 136), in HSL hsl(228.41, 47.83%, 36.08%) and in OKLCH oklch(40.19% 0.11994 270.104).

### What colors go well with #304188?

The complementary color of #304188 is #5d4400. For a calmer combination use the analogous colors #004d81 and #53357e. The triadic partners are #7c271d and #005921.

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

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

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

#304188 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.2% and its chroma 0.12.
