#183F89#183F89
#183F89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.132 H 261.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #183F89 |
|---|---|
| RGB | rgb(24, 63, 137) |
| HSL | hsl(219, 70%, 32%) |
| HSV | hsv(219, 82%, 54%) |
| CMYK | cmyk(82.5%, 54%, 0%, 46.3%) |
| CIE-LAB | lab(28.26, 15.44, -45.14) |
| CIE-LCH | lch(28.26, 47.71, 288.88°) |
| OKLab | oklab(38.68% -0.0192 -0.1301) |
| OKLCH | oklch(38.68% 0.132 261.6) |
| XYZ | xyz(6.6679, 5.5546, 24.3828) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.83
Cobalt (survey)
#1E488F
ΔE00 2.95
Twilight Blue
#0A437A
ΔE00 4.01
Cobalt
#0047AB
ΔE00 4.93
Marine Blue
#01386A
ΔE00 5.16
Prussian Blue
#004577
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F89 #896218
analogous
#187889 #183F89 #2A1889
triadic
#183F89 #89183F #3F8918
tetradic
#183F89 #891878 #896218 #18892A
square
#183F89 #891878 #896218 #18892A
split-complementary
#183F89 #892A18 #788918
monochromatic
#060F21 #0F2755 #183F89 #2157BD #3E75DD
Accessibility & contrast
On white
9.95
#183F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#183F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F89
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F89 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #183f89; /* rgb */ color: rgb(24, 63, 137); /* oklch */ color: oklch(38.7% 0.132 261.6);
Tailwind
colors: {
custom: {
50: '#6973ac',
500: '#183f89',
950: '#000000',
},
}SCSS
$custom: #183f89; $custom-light: #6973ac; $custom-dark: #000000;
JSON
{
"hex": "#183f89",
"rgb": {
"r": 24,
"g": 63,
"b": 137
},
"hsl": {
"h": 219.292,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.38681,
"c": 0.13151,
"h": 261.6
},
"luminance": 0.05555
}Semantic roles & 50–950 ramp
primary
#183F89
secondary
#BD9240
accent
#AF3BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F