# #304288 color: Official Violet

#304288 is rgb(48, 66, 136) in RGB and oklch(40.406% 0.11858 269.601) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304288 |
| RGB | rgb(48, 66, 136) |
| HSL | hsl(227.73, 47.83%, 36.08%) |
| HSB / HSV | hsv(227.73 64.71% 53.33%) |
| HWB | hwb(227.73 18.82% 46.67%) |
| CMYK | cmyk(65% 51% 0% 47%) |
| Lab | lab(29.55 11.33 -42.2) |
| LCH | lch(29.55 43.69 285.03) |
| OKLab | oklab(40.406% -0.00083 -0.11858) |
| OKLCH | oklch(40.406% 0.11858 269.601) |
| Display P3 | color(display-p3 0.20279 0.25683 0.51545) |
| Rec. 2020 | color(rec2020 0.17878 0.19859 0.46339) |
| Adobe RGB | color(a98-rgb 0.22239 0.26629 0.52093) |
| ProPhoto RGB | color(prophoto-rgb 0.22503 0.20447 0.43119) |
| Linear sRGB | color(srgb-linear 0.02956 0.05448 0.2462) |
| XYZ D65 | color(xyz-d65 0.0761 0.06302 0.24109) |
| XYZ D50 | color(xyz-d50 0.0691 0.06056 0.18151) |
| SwiftUI | Color(red: 0.188, green: 0.259, blue: 0.533) |
| UIKit | UIColor(red: 0.188, green: 0.259, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF304288) |
| Android XML | #304288 |

## 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.29:1
- Contrast with black: 2.26:1

## Tints

#304288, #425494, #5467a1, #6779ad, #7c8bb9, #909ec5, #a5b1d1, #bbc4dc, #d1d7e8, #e8ebf4

## Shades

#304288, #283875, #212f63, #1a2552, #131c41, #0c1431, #060b22, #030513, #010106, #000001

## Tones

#304288, #324382, #35457c, #374676, #39466f, #3c4769, #3e4863, #41485c, #444856, #46494f

## Harmonies

- Complementary: #304288, #5e4500
- Split: #304288, #743400, #425000
- Analogous: #304288, #004e81, #53367e
- Triadic: #304288, #7c281f, #005921
- Tetradic: #304288, #6a2c67, #5e4500, #005921
- Square: #304288, #782647, #5e4500, #00584a
- Monochromatic: #304288, #050040, #152063, #4f65ae, #7189d6

## Questions about #304288

### What color is #304288?

#304288 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 136), in HSL hsl(227.73, 47.83%, 36.08%) and in OKLCH oklch(40.406% 0.11858 269.601).

### What colors go well with #304288?

The complementary color of #304288 is #5e4500. For a calmer combination use the analogous colors #004e81 and #53367e. The triadic partners are #7c281f and #005921.

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

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

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

#304288 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.4% and its chroma 0.119.
