#180F6D#180F6D
#180F6D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 27.0% C 0.150 H 274.0°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).
Color values
| HEX | #180F6D |
|---|---|
| RGB | rgb(24, 15, 109) |
| HSL | hsl(246, 76%, 24%) |
| HSV | hsv(246, 86%, 43%) |
| CMYK | cmyk(78%, 86.2%, 0%, 57.3%) |
| CIE-LAB | lab(13.47, 36.21, -51.57) |
| CIE-LCH | lch(13.47, 63.01, 305.07°) |
| OKLab | oklab(27.01% 0.0106 -0.1491) |
| OKLCH | oklch(27.01% 0.15 274) |
| XYZ | xyz(3.3069, 1.6396, 14.6072) |
| Luminance | 0.0164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Royal Blue
#02066F
ΔE00 2.14
Darkblue (survey)
#030764
ΔE00 2.39
Midnight Blue
#191970
ΔE00 2.39
Deep Blue
#040273
ΔE00 2.79
Dark Blue
#00035B
ΔE00 3.86
Navy
#000080
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#180F6D #646D0F
analogous
#0F356D #180F6D #470F6D
triadic
#180F6D #6D180F #0F6D18
tetradic
#180F6D #6D0F35 #646D0F #0F6D47
square
#180F6D #6D0F35 #646D0F #0F6D47
split-complementary
#180F6D #6D470F #356D0F
monochromatic
#06041B #0C0837 #180F6D #2416A3 #301ED9
Accessibility & contrast
On white
15.81
#180F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#180F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #180F6D
15.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##180F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##180F6D | 1.00 | 15.81 | 1.33 | 15.81 |
| #FFFFFF | 15.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002770
Deuteranopia (green-blind)
#001E6B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #180f6d; /* rgb */ color: rgb(24, 15, 109); /* oklch */ color: oklch(27.0% 0.150 274.0);
Tailwind
colors: {
custom: {
50: '#665198',
500: '#180f6d',
950: '#000000',
},
}SCSS
$custom: #180f6d; $custom-light: #665198; $custom-dark: #000000;
JSON
{
"hex": "#180f6d",
"rgb": {
"r": 24,
"g": 15,
"b": 109
},
"hsl": {
"h": 245.745,
"s": 75.806,
"l": 24.314
},
"oklch": {
"l": 0.27013,
"c": 0.14952,
"h": 274
},
"luminance": 0.0164
}Semantic roles & 50–950 ramp
primary
#180F6D
secondary
#9AA533
accent
#F235E0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E