#154CB4#154CB4
#154CB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.175 H 261.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #154CB4 |
|---|---|
| RGB | rgb(21, 76, 180) |
| HSL | hsl(219, 79%, 39%) |
| HSV | hsv(219, 88%, 71%) |
| CMYK | cmyk(88.3%, 57.8%, 0%, 29.4%) |
| CIE-LAB | lab(35.25, 23.72, -59.79) |
| CIE-LCH | lch(35.25, 64.32, 291.64°) |
| OKLab | oklab(45.01% -0.0254 -0.1729) |
| OKLCH | oklch(45.01% 0.175 261.7) |
| XYZ | xyz(11.1289, 8.6222, 44.2488) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.03
Sapphire
#0F52BA
ΔE00 2.16
Cobalt (survey)
#1E488F
ΔE00 4.96
Blue Blue
#2242C7
ΔE00 5.03
Dusk Blue
#26538D
ΔE00 5.75
Blue (survey)
#0343DF
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154CB4 #B47D15
analogous
#159CB4 #154CB4 #2D15B4
triadic
#154CB4 #B4154C #4CB415
tetradic
#154CB4 #B4159C #B47D15 #15B42D
square
#154CB4 #B4159C #B47D15 #15B42D
split-complementary
#154CB4 #B42D15 #9CB415
monochromatic
#081E46 #0F357D #154CB4 #2165E5 #588BEC
Accessibility & contrast
On white
7.71
#154CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#154CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154CB4
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154CB4 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #154cb4; /* rgb */ color: rgb(21, 76, 180); /* oklch */ color: oklch(45.0% 0.175 261.7);
Tailwind
colors: {
custom: {
50: '#737dcb',
500: '#154cb4',
950: '#000000',
},
}SCSS
$custom: #154cb4; $custom-light: #737dcb; $custom-dark: #000000;
JSON
{
"hex": "#154cb4",
"rgb": {
"r": 21,
"g": 76,
"b": 180
},
"hsl": {
"h": 219.245,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.45013,
"c": 0.17478,
"h": 261.7
},
"luminance": 0.08624
}Semantic roles & 50–950 ramp
primary
#154CB4
secondary
#CFA556
accent
#B232F6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82