#183F8F#183F8F
#183F8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.140 H 262.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #183F8F |
|---|---|
| RGB | rgb(24, 63, 143) |
| HSL | hsl(220, 71%, 33%) |
| HSV | hsv(220, 83%, 56%) |
| CMYK | cmyk(83.2%, 55.9%, 0%, 43.9%) |
| CIE-LAB | lab(28.72, 17.90, -48.09) |
| CIE-LCH | lch(28.72, 51.31, 290.41°) |
| OKLab | oklab(39.18% -0.0185 -0.1388) |
| OKLCH | oklch(39.18% 0.14 262.4) |
| XYZ | xyz(7.1103, 5.7315, 26.7128) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.08
Darkish Blue
#014182
ΔE00 3.52
Cobalt
#0047AB
ΔE00 4.29
Twilight Blue
#0A437A
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 5.75
Marine Blue
#01386A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F8F #8F6818
analogous
#187A8F #183F8F #2C188F
triadic
#183F8F #8F183F #3F8F18
tetradic
#183F8F #8F187A #8F6818 #188F2C
square
#183F8F #8F187A #8F6818 #188F2C
split-complementary
#183F8F #8F2C18 #7A8F18
monochromatic
#061126 #0F285B #183F8F #2156C3 #4276DF
Accessibility & contrast
On white
9.78
#183F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#183F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F8F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F8F | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #183f8f; /* rgb */ color: rgb(24, 63, 143); /* oklch */ color: oklch(39.2% 0.140 262.4);
Tailwind
colors: {
custom: {
50: '#6b73b0',
500: '#183f8f',
950: '#000000',
},
}SCSS
$custom: #183f8f; $custom-light: #6b73b0; $custom-dark: #000000;
JSON
{
"hex": "#183f8f",
"rgb": {
"r": 24,
"g": 63,
"b": 143
},
"hsl": {
"h": 220.336,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.39181,
"c": 0.14002,
"h": 262.4
},
"luminance": 0.05732
}Semantic roles & 50–950 ramp
primary
#183F8F
secondary
#C09743
accent
#B33AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080811
muted
#7A7B80