#183F99#183F99
#183F99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.154 H 263.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #183F99 |
|---|---|
| RGB | rgb(24, 63, 153) |
| HSL | hsl(222, 73%, 35%) |
| HSV | hsv(222, 84%, 60%) |
| CMYK | cmyk(84.3%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(29.53, 21.96, -52.90) |
| CIE-LCH | lch(29.53, 57.28, 292.54°) |
| OKLab | oklab(40.04% -0.0178 -0.1529) |
| OKLCH | oklch(40.04% 0.154 263.4) |
| XYZ | xyz(7.9019, 6.0481, 30.8818) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.48
Cobalt (survey)
#1E488F
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.35
Darkish Blue
#014182
ΔE00 4.79
Twilight Blue
#0A437A
ΔE00 5.94
Blueberry
#464196
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F99 #997218
analogous
#188099 #183F99 #311899
triadic
#183F99 #99183F #3F9918
tetradic
#183F99 #991880 #997218 #189931
square
#183F99 #991880 #997218 #189931
split-complementary
#183F99 #993118 #809918
monochromatic
#07132F #102964 #183F99 #2055CE #4977E2
Accessibility & contrast
On white
9.50
#183F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#183F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F99
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F99 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #183f99; /* rgb */ color: rgb(24, 63, 153); /* oklch */ color: oklch(40.0% 0.154 263.4);
Tailwind
colors: {
custom: {
50: '#6d73b8',
500: '#183f99',
950: '#000000',
},
}SCSS
$custom: #183f99; $custom-light: #6d73b8; $custom-dark: #000000;
JSON
{
"hex": "#183f99",
"rgb": {
"r": 24,
"g": 63,
"b": 153
},
"hsl": {
"h": 221.86,
"s": 72.881,
"l": 34.706
},
"oklch": {
"l": 0.40045,
"c": 0.15394,
"h": 263.4
},
"luminance": 0.06049
}Semantic roles & 50–950 ramp
primary
#183F99
secondary
#C49F49
accent
#B838F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80