#183F8E#183F8E
#183F8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.139 H 262.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #183F8E |
|---|---|
| RGB | rgb(24, 63, 142) |
| HSL | hsl(220, 71%, 33%) |
| HSV | hsv(220, 83%, 56%) |
| CMYK | cmyk(83.1%, 55.6%, 0%, 44.3%) |
| CIE-LAB | lab(28.65, 17.49, -47.60) |
| CIE-LCH | lch(28.65, 50.71, 290.17°) |
| OKLab | oklab(39.1% -0.0186 -0.1373) |
| OKLCH | oklch(39.1% 0.139 262.3) |
| XYZ | xyz(7.0349, 5.7014, 26.3156) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.04
Darkish Blue
#014182
ΔE00 3.40
Cobalt
#0047AB
ΔE00 4.39
Twilight Blue
#0A437A
ΔE00 4.59
Marine Blue
#01386A
ΔE00 5.83
Sapphire (survey)
#2138AB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F8E #8E6718
analogous
#187A8E #183F8E #2C188E
triadic
#183F8E #8E183F #3F8E18
tetradic
#183F8E #8E187A #8E6718 #188E2C
square
#183F8E #8E187A #8E6718 #188E2C
split-complementary
#183F8E #8E2C18 #7A8E18
monochromatic
#061125 #0F285A #183F8E #2156C2 #4176DF
Accessibility & contrast
On white
9.81
#183F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#183F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F8E
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F8E | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #183f8e; /* rgb */ color: rgb(24, 63, 142); /* oklch */ color: oklch(39.1% 0.139 262.3);
Tailwind
colors: {
custom: {
50: '#6a73b0',
500: '#183f8e',
950: '#000000',
},
}SCSS
$custom: #183f8e; $custom-light: #6a73b0; $custom-dark: #000000;
JSON
{
"hex": "#183f8e",
"rgb": {
"r": 24,
"g": 63,
"b": 142
},
"hsl": {
"h": 220.169,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.39097,
"c": 0.13861,
"h": 262.3
},
"luminance": 0.05702
}Semantic roles & 50–950 ramp
primary
#183F8E
secondary
#C09642
accent
#B23AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080810
muted
#7A7B7F