#183F8D#183F8D
#183F8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.137 H 262.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #183F8D |
|---|---|
| RGB | rgb(24, 63, 141) |
| HSL | hsl(220, 71%, 32%) |
| HSV | hsv(220, 83%, 55%) |
| CMYK | cmyk(83%, 55.3%, 0%, 44.7%) |
| CIE-LAB | lab(28.57, 17.08, -47.11) |
| CIE-LCH | lch(28.57, 50.12, 289.93°) |
| OKLab | oklab(39.01% -0.0187 -0.1359) |
| OKLCH | oklch(39.01% 0.137 262.2) |
| XYZ | xyz(6.9602, 5.6715, 25.9220) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.00
Darkish Blue
#014182
ΔE00 3.28
Twilight Blue
#0A437A
ΔE00 4.47
Cobalt
#0047AB
ΔE00 4.49
Marine Blue
#01386A
ΔE00 5.69
Prussian Blue
#004577
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F8D #8D6618
analogous
#187A8D #183F8D #2C188D
triadic
#183F8D #8D183F #3F8D18
tetradic
#183F8D #8D187A #8D6618 #188D2C
square
#183F8D #8D187A #8D6618 #188D2C
split-complementary
#183F8D #8D2C18 #7A8D18
monochromatic
#061024 #0F2859 #183F8D #2156C1 #4175DF
Accessibility & contrast
On white
9.84
#183F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#183F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F8D
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F8D | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #183f8d; /* rgb */ color: rgb(24, 63, 141); /* oklch */ color: oklch(39.0% 0.137 262.2);
Tailwind
colors: {
custom: {
50: '#6a73af',
500: '#183f8d',
950: '#000000',
},
}SCSS
$custom: #183f8d; $custom-light: #6a73af; $custom-dark: #000000;
JSON
{
"hex": "#183f8d",
"rgb": {
"r": 24,
"g": 63,
"b": 141
},
"hsl": {
"h": 220,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.39013,
"c": 0.1372,
"h": 262.2
},
"luminance": 0.05672
}Semantic roles & 50–950 ramp
primary
#183F8D
secondary
#BF9542
accent
#B23AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F