#183162#183162
#183162 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.092 H 262.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #183162 |
|---|---|
| RGB | rgb(24, 49, 98) |
| HSL | hsl(220, 61%, 24%) |
| HSV | hsv(220, 76%, 38%) |
| CMYK | cmyk(75.5%, 50%, 0%, 61.6%) |
| CIE-LAB | lab(21.10, 9.21, -31.89) |
| CIE-LCH | lch(21.10, 33.20, 286.10°) |
| OKLab | oklab(32.29% -0.0125 -0.0914) |
| OKLCH | oklch(32.29% 0.092 262.2) |
| XYZ | xyz(3.6788, 3.2723, 11.9906) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.05
Marine Blue
#01386A
ΔE00 4.25
Navy Blue
#1B2A4A
ΔE00 4.87
Darkish Blue
#014182
ΔE00 7.00
Twilight Blue
#0A437A
ΔE00 7.21
Prussian Blue
#004577
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183162 #624918
analogous
#185662 #183162 #241862
triadic
#183162 #621831 #316218
tetradic
#183162 #621856 #624918 #186224
square
#183162 #621856 #624918 #186224
split-complementary
#183162 #622418 #566218
monochromatic
#060C19 #0C1831 #183162 #244A93 #3062C4
Accessibility & contrast
On white
12.69
#183162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#183162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183162
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183162 | 1.00 | 12.69 | 1.65 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173664
Deuteranopia (green-blind)
#063061
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #183162; /* rgb */ color: rgb(24, 49, 98); /* oklch */ color: oklch(32.3% 0.092 262.2);
Tailwind
colors: {
custom: {
50: '#60688f',
500: '#183162',
950: '#000000',
},
}SCSS
$custom: #183162; $custom-light: #60688f; $custom-dark: #000000;
JSON
{
"hex": "#183162",
"rgb": {
"r": 24,
"g": 49,
"b": 98
},
"hsl": {
"h": 219.73,
"s": 60.656,
"l": 23.922
},
"oklch": {
"l": 0.32291,
"c": 0.09226,
"h": 262.2
},
"luminance": 0.03273
}Semantic roles & 50–950 ramp
primary
#183162
secondary
#987A3E
accent
#AE44E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D