#154D9F#154D9F
#154D9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.145 H 258.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #154D9F |
|---|---|
| RGB | rgb(21, 77, 159) |
| HSL | hsl(216, 77%, 35%) |
| HSV | hsv(216, 87%, 62%) |
| CMYK | cmyk(86.8%, 51.6%, 0%, 37.6%) |
| CIE-LAB | lab(33.92, 14.56, -49.42) |
| CIE-LCH | lch(33.92, 51.52, 286.42°) |
| OKLab | oklab(43.5% -0.0282 -0.1424) |
| OKLCH | oklch(43.5% 0.145 258.8) |
| XYZ | xyz(9.2188, 7.9692, 33.8465) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.55
Cobalt
#0047AB
ΔE00 2.76
Dusk Blue
#26538D
ΔE00 3.13
Sapphire
#0F52BA
ΔE00 3.68
Light Navy
#155084
ΔE00 4.40
Darkish Blue
#014182
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154D9F #9F6715
analogous
#15929F #154D9F #22159F
triadic
#154D9F #9F154D #4D9F15
tetradic
#154D9F #9F1592 #9F6715 #159F22
square
#154D9F #9F1592 #9F6715 #159F22
split-complementary
#154D9F #9F2215 #929F15
monochromatic
#071933 #0E3369 #154D9F #1C67D5 #4888E7
Accessibility & contrast
On white
8.10
#154D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#154D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154D9F
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154D9F | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #154d9f; /* rgb */ color: rgb(21, 77, 159); /* oklch */ color: oklch(43.5% 0.145 258.8);
Tailwind
colors: {
custom: {
50: '#6d7ebc',
500: '#154d9f',
950: '#000000',
},
}SCSS
$custom: #154d9f; $custom-light: #6d7ebc; $custom-dark: #000000;
JSON
{
"hex": "#154d9f",
"rgb": {
"r": 21,
"g": 77,
"b": 159
},
"hsl": {
"h": 215.652,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.43498,
"c": 0.14518,
"h": 258.8
},
"luminance": 0.0797
}Semantic roles & 50–950 ramp
primary
#154D9F
secondary
#C89448
accent
#A635F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81