#154FB4#154FB4
#154FB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.171 H 260.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #154FB4 |
|---|---|
| RGB | rgb(21, 79, 180) |
| HSL | hsl(218, 79%, 39%) |
| HSV | hsv(218, 88%, 71%) |
| CMYK | cmyk(88.3%, 56.1%, 0%, 29.4%) |
| CIE-LAB | lab(36.07, 21.71, -58.44) |
| CIE-LCH | lch(36.07, 62.34, 290.38°) |
| OKLab | oklab(45.64% -0.0271 -0.1689) |
| OKLCH | oklch(45.64% 0.171 260.9) |
| XYZ | xyz(11.3405, 9.0452, 44.3194) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.22
Cobalt
#0047AB
ΔE00 2.72
Cobalt (survey)
#1E488F
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 5.19
Blue Blue
#2242C7
ΔE00 5.91
Denim
#1560BD
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154FB4 #B47A15
analogous
#159FB4 #154FB4 #2B15B4
triadic
#154FB4 #B4154F #4FB415
tetradic
#154FB4 #B4159F #B47A15 #15B42B
square
#154FB4 #B4159F #B47A15 #15B42B
split-complementary
#154FB4 #B42B15 #9FB415
monochromatic
#081F46 #0F377D #154FB4 #2169E5 #588EEC
Accessibility & contrast
On white
7.47
#154FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#154FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154FB4
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154FB4 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #154fb4; /* rgb */ color: rgb(21, 79, 180); /* oklch */ color: oklch(45.6% 0.171 260.9);
Tailwind
colors: {
custom: {
50: '#737fcb',
500: '#154fb4',
950: '#000000',
},
}SCSS
$custom: #154fb4; $custom-light: #737fcb; $custom-dark: #000000;
JSON
{
"hex": "#154fb4",
"rgb": {
"r": 21,
"g": 79,
"b": 180
},
"hsl": {
"h": 218.113,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.45636,
"c": 0.17108,
"h": 260.9
},
"luminance": 0.09047
}Semantic roles & 50–950 ramp
primary
#154FB4
secondary
#CFA356
accent
#AE32F6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82