#155FCA#155FCA
#155FCA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.181 H 259.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #155FCA |
|---|---|
| RGB | rgb(21, 95, 202) |
| HSL | hsl(215, 81%, 44%) |
| HSV | hsv(215, 90%, 79%) |
| CMYK | cmyk(89.6%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(42.16, 19.85, -61.38) |
| CIE-LCH | lch(42.16, 64.51, 287.92°) |
| OKLab | oklab(50.79% -0.0343 -0.1772) |
| OKLCH | oklch(50.79% 0.181 259) |
| XYZ | xyz(15.0582, 12.6061, 57.5052) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.93
Sapphire
#0F52BA
ΔE00 4.65
Mid Blue
#276AB3
ΔE00 4.94
Azul
#1D5DEC
ΔE00 5.00
French Blue
#436BAD
ΔE00 5.28
Medium Blue
#2C6FBB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155FCA #CA8015
analogous
#15B9CA #155FCA #2615CA
triadic
#155FCA #CA155F #5FCA15
tetradic
#155FCA #CA15B9 #CA8015 #15CA26
square
#155FCA #CA15B9 #CA8015 #15CA26
split-complementary
#155FCA #CA2615 #B9CA15
monochromatic
#092B5B #0F4593 #155FCA #327DEA #6AA1EF
Accessibility & contrast
On white
5.96
#155FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#155FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #155FCA
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155FCA | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026CCE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #155fca; /* rgb */ color: rgb(21, 95, 202); /* oklch */ color: oklch(50.8% 0.181 259.0);
Tailwind
colors: {
custom: {
50: '#788bdb',
500: '#155fca',
950: '#000000',
},
}SCSS
$custom: #155fca; $custom-light: #788bdb; $custom-dark: #000000;
JSON
{
"hex": "#155fca",
"rgb": {
"r": 21,
"g": 95,
"b": 202
},
"hsl": {
"h": 215.47,
"s": 81.166,
"l": 43.725
},
"oklch": {
"l": 0.50789,
"c": 0.18052,
"h": 259
},
"luminance": 0.12608
}Semantic roles & 50–950 ramp
primary
#155FCA
secondary
#D5A866
accent
#A630F8
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83