#154182#154182
#154182 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.120 H 258.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #154182 |
|---|---|
| RGB | rgb(21, 65, 130) |
| HSL | hsl(216, 72%, 30%) |
| HSV | hsv(216, 84%, 51%) |
| CMYK | cmyk(83.8%, 50%, 0%, 49%) |
| CIE-LAB | lab(28.25, 10.84, -40.81) |
| CIE-LCH | lch(28.25, 42.23, 284.87°) |
| OKLab | oklab(38.48% -0.0236 -0.1174) |
| OKLCH | oklch(38.48% 0.12 258.6) |
| XYZ | xyz(6.2273, 5.5510, 21.8580) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 1.40
Twilight Blue
#0A437A
ΔE00 2.39
Cobalt (survey)
#1E488F
ΔE00 2.65
Prussian Blue
#004577
ΔE00 4.05
Marine Blue
#01386A
ΔE00 4.20
Cobalt
#0047AB
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154182 #825615
analogous
#157882 #154182 #201582
triadic
#154182 #821541 #418215
tetradic
#154182 #821578 #825615 #158220
square
#154182 #821578 #825615 #158220
split-complementary
#154182 #822015 #788215
monochromatic
#040D1A #0C274D #154182 #1E5BB7 #3378DE
Accessibility & contrast
On white
9.95
#154182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#154182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154182
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154182 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4884
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #154182; /* rgb */ color: rgb(21, 65, 130); /* oklch */ color: oklch(38.5% 0.120 258.6);
Tailwind
colors: {
custom: {
50: '#6675a7',
500: '#154182',
950: '#000000',
},
}SCSS
$custom: #154182; $custom-light: #6675a7; $custom-dark: #000000;
JSON
{
"hex": "#154182",
"rgb": {
"r": 21,
"g": 65,
"b": 130
},
"hsl": {
"h": 215.78,
"s": 72.185,
"l": 29.608
},
"oklch": {
"l": 0.38483,
"c": 0.11972,
"h": 258.6
},
"luminance": 0.05552
}Semantic roles & 50–950 ramp
primary
#154182
secondary
#B7853C
accent
#A539EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F