#154FCA#154FCA
#154FCA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.200 H 262.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #154FCA |
|---|---|
| RGB | rgb(21, 79, 202) |
| HSL | hsl(221, 81%, 44%) |
| HSV | hsv(221, 90%, 79%) |
| CMYK | cmyk(89.6%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(37.87, 30.37, -68.38) |
| CIE-LCH | lch(37.87, 74.82, 293.94°) |
| OKLab | oklab(47.55% -0.0258 -0.1981) |
| OKLCH | oklch(47.55% 0.2 262.6) |
| XYZ | xyz(13.7621, 10.0139, 57.0732) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.86
Blue Blue
#2242C7
ΔE00 4.34
Blue (survey)
#0343DF
ΔE00 4.60
Cobalt
#0047AB
ΔE00 4.87
Warm Blue
#4B57DB
ΔE00 6.01
Azul
#1D5DEC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154FCA #CA9015
analogous
#15A9CA #154FCA #3515CA
triadic
#154FCA #CA154F #4FCA15
tetradic
#154FCA #CA15A9 #CA9015 #15CA35
square
#154FCA #CA15A9 #CA9015 #15CA35
split-complementary
#154FCA #CA3515 #A9CA15
monochromatic
#09245B #0F3993 #154FCA #326DEA #6A95EF
Accessibility & contrast
On white
6.99
#154FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#154FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #154FCA
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154FCA | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #154fca; /* rgb */ color: rgb(21, 79, 202); /* oklch */ color: oklch(47.5% 0.200 262.6);
Tailwind
colors: {
custom: {
50: '#797fdb',
500: '#154fca',
950: '#000000',
},
}SCSS
$custom: #154fca; $custom-light: #797fdb; $custom-dark: #000000;
JSON
{
"hex": "#154fca",
"rgb": {
"r": 21,
"g": 79,
"b": 202
},
"hsl": {
"h": 220.773,
"s": 81.166,
"l": 43.725
},
"oklch": {
"l": 0.47545,
"c": 0.19975,
"h": 262.6
},
"luminance": 0.10016
}Semantic roles & 50–950 ramp
primary
#154FCA
secondary
#D5B166
accent
#B830F8
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83