#183F8C#183F8C
#183F8C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.136 H 262.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #183F8C |
|---|---|
| RGB | rgb(24, 63, 140) |
| HSL | hsl(220, 71%, 32%) |
| HSV | hsv(220, 83%, 55%) |
| CMYK | cmyk(82.9%, 55%, 0%, 45.1%) |
| CIE-LAB | lab(28.49, 16.67, -46.62) |
| CIE-LCH | lch(28.49, 49.51, 289.68°) |
| OKLab | oklab(38.93% -0.0188 -0.1345) |
| OKLCH | oklch(38.93% 0.136 262) |
| XYZ | xyz(6.8861, 5.6418, 25.5319) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.98
Darkish Blue
#014182
ΔE00 3.16
Twilight Blue
#0A437A
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.60
Marine Blue
#01386A
ΔE00 5.56
Prussian Blue
#004577
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F8C #8C6518
analogous
#18798C #183F8C #2B188C
triadic
#183F8C #8C183F #3F8C18
tetradic
#183F8C #8C1879 #8C6518 #188C2B
square
#183F8C #8C1879 #8C6518 #188C2B
split-complementary
#183F8C #8C2B18 #798C18
monochromatic
#061024 #0F2758 #183F8C #2157C0 #4075DE
Accessibility & contrast
On white
9.87
#183F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#183F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F8C
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F8C | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00498F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #183f8c; /* rgb */ color: rgb(24, 63, 140); /* oklch */ color: oklch(38.9% 0.136 262.0);
Tailwind
colors: {
custom: {
50: '#6a73ae',
500: '#183f8c',
950: '#000000',
},
}SCSS
$custom: #183f8c; $custom-light: #6a73ae; $custom-dark: #000000;
JSON
{
"hex": "#183f8c",
"rgb": {
"r": 24,
"g": 63,
"b": 140
},
"hsl": {
"h": 219.828,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.38929,
"c": 0.13578,
"h": 262
},
"luminance": 0.05643
}Semantic roles & 50–950 ramp
primary
#183F8C
secondary
#BF9541
accent
#B13AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F