#181C79#181C79
#181C79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.153 H 271.0°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #181C79 |
|---|---|
| RGB | rgb(24, 28, 121) |
| HSL | hsl(238, 67%, 28%) |
| HSV | hsv(238, 80%, 47%) |
| CMYK | cmyk(80.2%, 76.9%, 0%, 52.5%) |
| CIE-LAB | lab(17.48, 33.04, -52.70) |
| CIE-LCH | lch(17.48, 62.20, 302.08°) |
| OKLab | oklab(30.26% 0.0027 -0.1526) |
| OKLCH | oklch(30.26% 0.153 271) |
| XYZ | xyz(4.2420, 2.4047, 18.3260) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.53
Royal
#0C1793
ΔE00 4.14
Dark Royal Blue
#02066F
ΔE00 4.82
Deep Blue
#040273
ΔE00 5.34
Darkblue (survey)
#030764
ΔE00 5.39
Navy
#000080
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C79 #797518
analogous
#184C79 #181C79 #441879
triadic
#181C79 #79181C #1C7918
tetradic
#181C79 #79184C #797518 #187944
square
#181C79 #79184C #797518 #187944
split-complementary
#181C79 #794418 #4C7918
monochromatic
#05061A #0E1046 #181C79 #2228AC #353BD7
Accessibility & contrast
On white
14.18
#181C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#181C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C79
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C79 | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #181c79; /* rgb */ color: rgb(24, 28, 121); /* oklch */ color: oklch(30.3% 0.153 271.0);
Tailwind
colors: {
custom: {
50: '#6859a1',
500: '#181c79',
950: '#000000',
},
}SCSS
$custom: #181c79; $custom-light: #6859a1; $custom-dark: #000000;
JSON
{
"hex": "#181c79",
"rgb": {
"r": 24,
"g": 28,
"b": 121
},
"hsl": {
"h": 237.526,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.30255,
"c": 0.15261,
"h": 271
},
"luminance": 0.02405
}Semantic roles & 50–950 ramp
primary
#181C79
secondary
#AEA93F
accent
#E33EEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F