#183C98#183C98
#183C98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.156 H 264.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #183C98 |
|---|---|
| RGB | rgb(24, 60, 152) |
| HSL | hsl(223, 73%, 35%) |
| HSV | hsv(223, 84%, 60%) |
| CMYK | cmyk(84.2%, 60.5%, 0%, 40.4%) |
| CIE-LAB | lab(28.62, 23.62, -53.78) |
| CIE-LCH | lch(28.62, 58.73, 293.71°) |
| OKLab | oklab(39.34% -0.016 -0.1555) |
| OKLCH | oklch(39.34% 0.156 264.1) |
| XYZ | xyz(7.6580, 5.6920, 30.3947) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 4.69
Darkish Blue
#014182
ΔE00 5.35
Blueberry
#464196
ΔE00 6.17
Twilight Blue
#0A437A
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183C98 #987418
analogous
#187C98 #183C98 #341898
triadic
#183C98 #98183C #3C9818
tetradic
#183C98 #98187C #987418 #189834
square
#183C98 #98187C #987418 #189834
split-complementary
#183C98 #983418 #7C9818
monochromatic
#07122E #102763 #183C98 #2051CD #4874E2
Accessibility & contrast
On white
9.82
#183C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#183C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183C98
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183C98 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #183c98; /* rgb */ color: rgb(24, 60, 152); /* oklch */ color: oklch(39.3% 0.156 264.1);
Tailwind
colors: {
custom: {
50: '#6d71b7',
500: '#183c98',
950: '#000000',
},
}SCSS
$custom: #183c98; $custom-light: #6d71b7; $custom-dark: #000000;
JSON
{
"hex": "#183c98",
"rgb": {
"r": 24,
"g": 60,
"b": 152
},
"hsl": {
"h": 223.125,
"s": 72.727,
"l": 34.51
},
"oklch": {
"l": 0.39335,
"c": 0.15636,
"h": 264.1
},
"luminance": 0.05693
}Semantic roles & 50–950 ramp
primary
#183C98
secondary
#C4A148
accent
#BC38EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80