#4155CA#4155CA
#4155CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.182 H 271.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4155CA |
|---|---|
| RGB | rgb(65, 85, 202) |
| HSL | hsl(231, 56%, 52%) |
| HSV | hsv(231, 68%, 79%) |
| CMYK | cmyk(67.8%, 57.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.03, 30.75, -63.15) |
| CIE-LCH | lch(41.03, 70.24, 295.96°) |
| OKLab | oklab(50.36% 0.0031 -0.1819) |
| OKLCH | oklch(50.36% 0.182 271) |
| XYZ | xyz(16.0855, 11.8836, 57.3117) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.88
Iris
#6258C4
ΔE00 5.20
Azul
#1D5DEC
ΔE00 5.27
Sapphire
#0F52BA
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.90
Blue (survey)
#0343DF
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4155CA #CAB641
analogous
#4199CA #4155CA #7241CA
triadic
#4155CA #CA4155 #55CA41
tetradic
#4155CA #CA4199 #CAB641 #41CA72
square
#4155CA #CA4199 #CAB641 #41CA72
split-complementary
#4155CA #CA7241 #99CA41
monochromatic
#202B71 #2D3EA1 #4155CA #7180D7 #A1ABE5
Accessibility & contrast
On white
6.22
#4155CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4155CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4155CA
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4155CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4155CA | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4155ca; /* rgb */ color: rgb(65, 85, 202); /* oklch */ color: oklch(50.4% 0.182 271.0);
Tailwind
colors: {
custom: {
50: '#8684db',
500: '#4155ca',
950: '#000000',
},
}SCSS
$custom: #4155ca; $custom-light: #8684db; $custom-dark: #000000;
JSON
{
"hex": "#4155ca",
"rgb": {
"r": 65,
"g": 85,
"b": 202
},
"hsl": {
"h": 231.241,
"s": 56.379,
"l": 52.353
},
"oklch": {
"l": 0.50356,
"c": 0.18196,
"h": 271
},
"luminance": 0.11885
}Semantic roles & 50–950 ramp
primary
#4155CA
secondary
#D1C996
accent
#CA48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83