#305989#305989
#305989 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.091 H 253.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #305989 |
|---|---|
| RGB | rgb(48, 89, 137) |
| HSL | hsl(212, 48%, 36%) |
| HSV | hsv(212, 65%, 54%) |
| CMYK | cmyk(65%, 35%, 0%, 46.3%) |
| CIE-LAB | lab(37.07, 1.67, -30.99) |
| CIE-LCH | lch(37.07, 31.04, 273.09°) |
| OKLab | oklab(45.76% -0.0258 -0.0878) |
| OKLCH | oklch(45.76% 0.091 253.6) |
| XYZ | xyz(9.3050, 9.5784, 25.0205) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 0.85
Dusk Blue
#26538D
ΔE00 2.23
Denim Blue
#3B5B92
ΔE00 2.62
Denim (survey)
#3B638C
ΔE00 3.62
Light Navy
#155084
ΔE00 3.67
Dusky Blue
#475F94
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305989 #896030
analogous
#308689 #305989 #343089
triadic
#305989 #893059 #598930
tetradic
#305989 #893086 #896030 #308934
square
#305989 #893086 #896030 #308934
split-complementary
#305989 #893430 #868930
monochromatic
#101E2E #203C5C #305989 #4076B6 #6996CA
Accessibility & contrast
On white
7.20
#305989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#305989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305989
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305989 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445C8B
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #305989; /* rgb */ color: rgb(48, 89, 137); /* oklch */ color: oklch(45.8% 0.091 253.6);
Tailwind
colors: {
custom: {
50: '#7187ab',
500: '#305989',
950: '#000000',
},
}SCSS
$custom: #305989; $custom-light: #7187ab; $custom-dark: #000000;
JSON
{
"hex": "#305989",
"rgb": {
"r": 48,
"g": 89,
"b": 137
},
"hsl": {
"h": 212.36,
"s": 48.108,
"l": 36.275
},
"oklch": {
"l": 0.45758,
"c": 0.09147,
"h": 253.6
},
"luminance": 0.09579
}Semantic roles & 50–950 ramp
primary
#305989
secondary
#B28D63
accent
#9950D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F