# #304080 color: Official Violet

#304080 is rgb(48, 64, 128) in RGB and oklch(39.377% 0.10929 270.18) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304080 |
| RGB | rgb(48, 64, 128) |
| HSL | hsl(228, 45.45%, 34.51%) |
| HSB / HSV | hsv(228 62.5% 50.2%) |
| HWB | hwb(228 18.82% 49.8%) |
| CMYK | cmyk(63% 50% 0% 50%) |
| Lab | lab(28.49 10.17 -38.94) |
| LCH | lch(28.49 40.25 284.63) |
| OKLab | oklab(39.377% 0.00034 -0.10929) |
| OKLCH | oklch(39.377% 0.10929 270.18) |
| Display P3 | color(display-p3 0.20098 0.24918 0.48538) |
| Rec. 2020 | color(rec2020 0.1724 0.19041 0.4315) |
| Adobe RGB | color(a98-rgb 0.21985 0.25904 0.49085) |
| ProPhoto RGB | color(prophoto-rgb 0.2151 0.19712 0.40135) |
| Linear sRGB | color(srgb-linear 0.02956 0.05127 0.21586) |
| XYZ D65 | color(xyz-d65 0.06948 0.05853 0.21186) |
| XYZ D50 | color(xyz-d50 0.06352 0.05642 0.15953) |
| SwiftUI | Color(red: 0.188, green: 0.251, blue: 0.502) |
| UIKit | UIColor(red: 0.188, green: 0.251, blue: 0.502, alpha: 1) |
| Flutter / Compose | Color(0xFF304080) |
| Android XML | #304080 |

## 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.67:1
- Contrast with black: 2.17:1

## Tints

#304080, #42528d, #54649a, #6777a7, #7b89b4, #909cc0, #a5b0cd, #bbc3da, #d1d7e6, #e8ebf3

## Shades

#304080, #28366e, #212d5d, #1a244d, #131b3d, #0c132e, #060b1f, #030512, #010106, #000001

## Tones

#304080, #32417a, #344275, #36436f, #384469, #3b4564, #3d455e, #3f4558, #414652, #44464c

## Harmonies

- Complementary: #304080, #5a4200
- Split: #304080, #6e3400, #3f4e00
- Analogous: #304080, #004b7a, #503577
- Triadic: #304080, #76291f, #005523
- Tetradic: #304080, #652c61, #5a4200, #005523
- Square: #304080, #722743, #5a4200, #005548
- Monochromatic: #304080, #040039, #151f5c, #4f62a6, #7186cd

## Questions about #304080

### What color is #304080?

#304080 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 64, 128), in HSL hsl(228, 45.45%, 34.51%) and in OKLCH oklch(39.377% 0.10929 270.18).

### What colors go well with #304080?

The complementary color of #304080 is #5a4200. For a calmer combination use the analogous colors #004b7a and #503577. The triadic partners are #76291f and #005523.

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

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

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

#304080 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.4% and its chroma 0.109.
