#183D8F#183D8F
#183D8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.143 H 263.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #183D8F |
|---|---|
| RGB | rgb(24, 61, 143) |
| HSL | hsl(221, 71%, 33%) |
| HSV | hsv(221, 83%, 56%) |
| CMYK | cmyk(83.2%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(28.15, 19.29, -49.02) |
| CIE-LCH | lch(28.15, 52.68, 291.48°) |
| OKLab | oklab(38.75% -0.0171 -0.1416) |
| OKLCH | oklch(38.75% 0.143 263.1) |
| XYZ | xyz(7.0016, 5.5140, 26.6766) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.79
Darkish Blue
#014182
ΔE00 4.04
Cobalt
#0047AB
ΔE00 4.68
Twilight Blue
#0A437A
ΔE00 5.24
Sapphire (survey)
#2138AB
ΔE00 5.32
Marine Blue
#01386A
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183D8F #8F6A18
analogous
#18788F #183D8F #2F188F
triadic
#183D8F #8F183D #3D8F18
tetradic
#183D8F #8F1878 #8F6A18 #188F2F
square
#183D8F #8F1878 #8F6A18 #188F2F
split-complementary
#183D8F #8F2F18 #788F18
monochromatic
#061026 #0F275B #183D8F #2153C3 #4273DF
Accessibility & contrast
On white
9.99
#183D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#183D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183D8F
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183D8F | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #183d8f; /* rgb */ color: rgb(24, 61, 143); /* oklch */ color: oklch(38.7% 0.143 263.1);
Tailwind
colors: {
custom: {
50: '#6b71b0',
500: '#183d8f',
950: '#000000',
},
}SCSS
$custom: #183d8f; $custom-light: #6b71b0; $custom-dark: #000000;
JSON
{
"hex": "#183d8f",
"rgb": {
"r": 24,
"g": 61,
"b": 143
},
"hsl": {
"h": 221.345,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.38748,
"c": 0.1426,
"h": 263.1
},
"luminance": 0.05515
}Semantic roles & 50–950 ramp
primary
#183D8F
secondary
#C09943
accent
#B63AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080711
muted
#7A7A80