#183E8F#183E8F
#183E8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.141 H 262.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #183E8F |
|---|---|
| RGB | rgb(24, 62, 143) |
| HSL | hsl(221, 71%, 33%) |
| HSV | hsv(221, 83%, 56%) |
| CMYK | cmyk(83.2%, 56.6%, 0%, 43.9%) |
| CIE-LAB | lab(28.44, 18.59, -48.56) |
| CIE-LCH | lch(28.44, 52.00, 290.95°) |
| OKLab | oklab(38.96% -0.0178 -0.1402) |
| OKLCH | oklch(38.96% 0.141 262.8) |
| XYZ | xyz(7.0555, 5.6218, 26.6945) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.44
Darkish Blue
#014182
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.48
Twilight Blue
#0A437A
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.53
Marine Blue
#01386A
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183E8F #8F6918
analogous
#187A8F #183E8F #2D188F
triadic
#183E8F #8F183E #3E8F18
tetradic
#183E8F #8F187A #8F6918 #188F2D
square
#183E8F #8F187A #8F6918 #188F2D
split-complementary
#183E8F #8F2D18 #7A8F18
monochromatic
#061126 #0F275B #183E8F #2155C3 #4274DF
Accessibility & contrast
On white
9.88
#183E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#183E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183E8F
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183E8F | 1.00 | 9.88 | 2.12 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #183e8f; /* rgb */ color: rgb(24, 62, 143); /* oklch */ color: oklch(39.0% 0.141 262.8);
Tailwind
colors: {
custom: {
50: '#6b72b0',
500: '#183e8f',
950: '#000000',
},
}SCSS
$custom: #183e8f; $custom-light: #6b72b0; $custom-dark: #000000;
JSON
{
"hex": "#183e8f",
"rgb": {
"r": 24,
"g": 62,
"b": 143
},
"hsl": {
"h": 220.84,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.38964,
"c": 0.14131,
"h": 262.8
},
"luminance": 0.05623
}Semantic roles & 50–950 ramp
primary
#183E8F
secondary
#C09843
accent
#B43AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080811
muted
#7A7B80