#182C72#182C72
#182C72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.123 H 267.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #182C72 |
|---|---|
| RGB | rgb(24, 44, 114) |
| HSL | hsl(227, 65%, 27%) |
| HSV | hsv(227, 79%, 45%) |
| CMYK | cmyk(78.9%, 61.4%, 0%, 55.3%) |
| CIE-LAB | lab(20.87, 19.44, -42.65) |
| CIE-LCH | lch(20.87, 46.87, 294.51°) |
| OKLab | oklab(32.51% -0.0065 -0.1231) |
| OKLCH | oklch(32.51% 0.123 267) |
| XYZ | xyz(4.3136, 3.2100, 16.3086) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.74
Midnight Blue
#191970
ΔE00 6.21
Marine Blue
#01386A
ΔE00 6.72
Navy Blue
#1B2A4A
ΔE00 7.69
Darkish Blue
#014182
ΔE00 8.23
Darkslateblue
#483D8B
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182C72 #725E18
analogous
#185972 #182C72 #311872
triadic
#182C72 #72182C #2C7218
tetradic
#182C72 #721859 #725E18 #187231
square
#182C72 #721859 #725E18 #187231
split-complementary
#182C72 #723118 #597218
monochromatic
#050A19 #0D183F #182C72 #2340A5 #3155D4
Accessibility & contrast
On white
12.79
#182C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#182C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182C72
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182C72 | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #182c72; /* rgb */ color: rgb(24, 44, 114); /* oklch */ color: oklch(32.5% 0.123 267.0);
Tailwind
colors: {
custom: {
50: '#64649b',
500: '#182c72',
950: '#000000',
},
}SCSS
$custom: #182c72; $custom-light: #64649b; $custom-dark: #000000;
JSON
{
"hex": "#182c72",
"rgb": {
"r": 24,
"g": 44,
"b": 114
},
"hsl": {
"h": 226.667,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.32513,
"c": 0.12332,
"h": 267
},
"luminance": 0.0321
}Semantic roles & 50–950 ramp
primary
#182C72
secondary
#A7903E
accent
#C340E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E