#183E9F#183E9F
#183E9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.163 H 264.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #183E9F |
|---|---|
| RGB | rgb(24, 62, 159) |
| HSL | hsl(223, 74%, 36%) |
| HSV | hsv(223, 85%, 62%) |
| CMYK | cmyk(84.9%, 61%, 0%, 37.6%) |
| CIE-LAB | lab(29.77, 25.05, -56.16) |
| CIE-LCH | lch(29.77, 61.49, 294.04°) |
| OKLab | oklab(40.38% -0.0169 -0.1625) |
| OKLCH | oklch(40.38% 0.163 264.1) |
| XYZ | xyz(8.3551, 6.1416, 33.5393) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.32
Cobalt
#0047AB
ΔE00 3.51
Cobalt (survey)
#1E488F
ΔE00 4.66
Darkish Blue
#014182
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 5.83
Blueberry
#464196
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183E9F #9F7918
analogous
#18819F #183E9F #35189F
triadic
#183E9F #9F183E #3E9F18
tetradic
#183E9F #9F1881 #9F7918 #189F35
square
#183E9F #9F1881 #9F7918 #189F35
split-complementary
#183E9F #9F3518 #819F18
monochromatic
#081535 #10296A #183E9F #2053D4 #4D78E4
Accessibility & contrast
On white
9.42
#183E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#183E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183E9F
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183E9F | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #183e9f; /* rgb */ color: rgb(24, 62, 159); /* oklch */ color: oklch(40.4% 0.163 264.1);
Tailwind
colors: {
custom: {
50: '#6f72bc',
500: '#183e9f',
950: '#000000',
},
}SCSS
$custom: #183e9f; $custom-light: #6f72bc; $custom-dark: #000000;
JSON
{
"hex": "#183e9f",
"rgb": {
"r": 24,
"g": 62,
"b": 159
},
"hsl": {
"h": 223.111,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.40378,
"c": 0.16338,
"h": 264.1
},
"luminance": 0.06143
}Semantic roles & 50–950 ramp
primary
#183E9F
secondary
#C6A44D
accent
#BC37F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81