#154AA5#154AA5
#154AA5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.157 H 260.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #154AA5 |
|---|---|
| RGB | rgb(21, 74, 165) |
| HSL | hsl(218, 77%, 36%) |
| HSV | hsv(218, 87%, 65%) |
| CMYK | cmyk(87.3%, 55.2%, 0%, 35.3%) |
| CIE-LAB | lab(33.50, 19.04, -53.69) |
| CIE-LCH | lch(33.50, 56.97, 289.53°) |
| OKLab | oklab(43.32% -0.0254 -0.1551) |
| OKLCH | oklch(43.32% 0.157 260.7) |
| XYZ | xyz(9.5471, 7.7724, 36.5870) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.30
Cobalt (survey)
#1E488F
ΔE00 2.92
Sapphire
#0F52BA
ΔE00 3.52
Dusk Blue
#26538D
ΔE00 4.57
Darkish Blue
#014182
ΔE00 5.44
Light Navy
#155084
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154AA5 #A57015
analogous
#1592A5 #154AA5 #2815A5
triadic
#154AA5 #A5154A #4AA515
tetradic
#154AA5 #A51592 #A57015 #15A528
square
#154AA5 #A51592 #A57015 #15A528
split-complementary
#154AA5 #A52815 #92A515
monochromatic
#071938 #0E326F #154AA5 #1C62DB #4C86E8
Accessibility & contrast
On white
8.22
#154AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#154AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154AA5
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154AA5 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #154aa5; /* rgb */ color: rgb(21, 74, 165); /* oklch */ color: oklch(43.3% 0.157 260.7);
Tailwind
colors: {
custom: {
50: '#6f7bc0',
500: '#154aa5',
950: '#000000',
},
}SCSS
$custom: #154aa5; $custom-light: #6f7bc0; $custom-dark: #000000;
JSON
{
"hex": "#154aa5",
"rgb": {
"r": 21,
"g": 74,
"b": 165
},
"hsl": {
"h": 217.917,
"s": 77.419,
"l": 36.471
},
"oklch": {
"l": 0.43324,
"c": 0.15714,
"h": 260.7
},
"luminance": 0.07774
}Semantic roles & 50–950 ramp
primary
#154AA5
secondary
#CA9C4C
accent
#AD34F4
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81