#183A9F#183A9F
#183A9F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.168 H 265.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #183A9F |
|---|---|
| RGB | rgb(24, 58, 159) |
| HSL | hsl(225, 74%, 36%) |
| HSV | hsv(225, 85%, 62%) |
| CMYK | cmyk(84.9%, 63.5%, 0%, 37.6%) |
| CIE-LAB | lab(28.70, 27.77, -57.91) |
| CIE-LCH | lch(28.70, 64.22, 295.62°) |
| OKLab | oklab(39.59% -0.0147 -0.1677) |
| OKLCH | oklch(39.59% 0.168 265) |
| XYZ | xyz(8.1455, 5.7225, 33.4694) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.38
Cobalt
#0047AB
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 5.95
Blueberry
#464196
ΔE00 6.01
Darkish Blue
#014182
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183A9F #9F7D18
analogous
#187D9F #183A9F #39189F
triadic
#183A9F #9F183A #3A9F18
tetradic
#183A9F #9F187D #9F7D18 #189F39
square
#183A9F #9F187D #9F7D18 #189F39
split-complementary
#183A9F #9F3918 #7D9F18
monochromatic
#081335 #10276A #183A9F #204DD4 #4D73E4
Accessibility & contrast
On white
9.79
#183A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#183A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183A9F
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183A9F | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #183a9f; /* rgb */ color: rgb(24, 58, 159); /* oklch */ color: oklch(39.6% 0.168 265.0);
Tailwind
colors: {
custom: {
50: '#6f6fbc',
500: '#183a9f',
950: '#000000',
},
}SCSS
$custom: #183a9f; $custom-light: #6f6fbc; $custom-dark: #000000;
JSON
{
"hex": "#183a9f",
"rgb": {
"r": 24,
"g": 58,
"b": 159
},
"hsl": {
"h": 224.889,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.39585,
"c": 0.16832,
"h": 265
},
"luminance": 0.05724
}Semantic roles & 50–950 ramp
primary
#183A9F
secondary
#C6A84D
accent
#C237F0
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81