#183F8B#183F8B
#183F8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.134 H 261.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #183F8B |
|---|---|
| RGB | rgb(24, 63, 139) |
| HSL | hsl(220, 71%, 32%) |
| HSV | hsv(220, 83%, 55%) |
| CMYK | cmyk(82.7%, 54.7%, 0%, 45.5%) |
| CIE-LAB | lab(28.41, 16.26, -46.13) |
| CIE-LCH | lch(28.41, 48.91, 289.42°) |
| OKLab | oklab(38.85% -0.0189 -0.133) |
| OKLCH | oklch(38.85% 0.134 261.9) |
| XYZ | xyz(6.8127, 5.6125, 25.1453) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.96
Darkish Blue
#014182
ΔE00 3.05
Twilight Blue
#0A437A
ΔE00 4.24
Cobalt
#0047AB
ΔE00 4.71
Marine Blue
#01386A
ΔE00 5.43
Prussian Blue
#004577
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F8B #8B6418
analogous
#18798B #183F8B #2B188B
triadic
#183F8B #8B183F #3F8B18
tetradic
#183F8B #8B1879 #8B6418 #188B2B
square
#183F8B #8B1879 #8B6418 #188B2B
split-complementary
#183F8B #8B2B18 #798B18
monochromatic
#061023 #0F2757 #183F8B #2157BF #3F75DE
Accessibility & contrast
On white
9.89
#183F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#183F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F8B
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F8B | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03498E
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #183f8b; /* rgb */ color: rgb(24, 63, 139); /* oklch */ color: oklch(38.8% 0.134 261.9);
Tailwind
colors: {
custom: {
50: '#6973ad',
500: '#183f8b',
950: '#000000',
},
}SCSS
$custom: #183f8b; $custom-light: #6973ad; $custom-dark: #000000;
JSON
{
"hex": "#183f8b",
"rgb": {
"r": 24,
"g": 63,
"b": 139
},
"hsl": {
"h": 219.652,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.38846,
"c": 0.13436,
"h": 261.9
},
"luminance": 0.05613
}Semantic roles & 50–950 ramp
primary
#183F8B
secondary
#BE9440
accent
#B13AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F