#183F96#183F96
#183F96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.150 H 263.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #183F96 |
|---|---|
| RGB | rgb(24, 63, 150) |
| HSL | hsl(221, 72%, 34%) |
| HSV | hsv(221, 84%, 59%) |
| CMYK | cmyk(84%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(29.29, 20.75, -51.47) |
| CIE-LCH | lch(29.29, 55.49, 291.95°) |
| OKLab | oklab(39.78% -0.018 -0.1487) |
| OKLCH | oklch(39.78% 0.15 263.1) |
| XYZ | xyz(7.6572, 5.9503, 29.5932) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.51
Cobalt
#0047AB
ΔE00 3.68
Darkish Blue
#014182
ΔE00 4.40
Sapphire (survey)
#2138AB
ΔE00 4.76
Twilight Blue
#0A437A
ΔE00 5.57
Blueberry
#464196
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F96 #966F18
analogous
#187E96 #183F96 #301896
triadic
#183F96 #96183F #3F9618
tetradic
#183F96 #96187E #966F18 #189630
square
#183F96 #96187E #966F18 #189630
split-complementary
#183F96 #963018 #7E9618
monochromatic
#07132C #102961 #183F96 #2055CB #4777E2
Accessibility & contrast
On white
9.59
#183F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#183F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F96
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F96 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #183f96; /* rgb */ color: rgb(24, 63, 150); /* oklch */ color: oklch(39.8% 0.150 263.1);
Tailwind
colors: {
custom: {
50: '#6c73b6',
500: '#183f96',
950: '#000000',
},
}SCSS
$custom: #183f96; $custom-light: #6c73b6; $custom-dark: #000000;
JSON
{
"hex": "#183f96",
"rgb": {
"r": 24,
"g": 63,
"b": 150
},
"hsl": {
"h": 221.429,
"s": 72.414,
"l": 34.118
},
"oklch": {
"l": 0.39782,
"c": 0.1498,
"h": 263.1
},
"luminance": 0.05951
}Semantic roles & 50–950 ramp
primary
#183F96
secondary
#C39C47
accent
#B739EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80