#4055CA#4055CA
#4055CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.182 H 270.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4055CA |
|---|---|
| RGB | rgb(64, 85, 202) |
| HSL | hsl(231, 57%, 52%) |
| HSV | hsv(231, 68%, 79%) |
| CMYK | cmyk(68.3%, 57.9%, 0%, 20.8%) |
| CIE-LAB | lab(40.98, 30.60, -63.24) |
| CIE-LCH | lch(40.98, 70.26, 295.82°) |
| OKLab | oklab(50.3% 0.0021 -0.1822) |
| OKLCH | oklch(50.3% 0.182 270.7) |
| XYZ | xyz(16.0199, 11.8497, 57.3086) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.96
Azul
#1D5DEC
ΔE00 5.22
Iris
#6258C4
ΔE00 5.32
Sapphire
#0F52BA
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 5.87
Blue (survey)
#0343DF
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4055CA #CAB540
analogous
#409ACA #4055CA #7040CA
triadic
#4055CA #CA4055 #55CA40
tetradic
#4055CA #CA409A #CAB540 #40CA70
square
#4055CA #CA409A #CAB540 #40CA70
split-complementary
#4055CA #CA7040 #9ACA40
monochromatic
#1F2C70 #2C3EA0 #4055CA #7080D7 #A0AAE5
Accessibility & contrast
On white
6.23
#4055CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#4055CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4055CA
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4055CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4055CA | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 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: #4055ca; /* rgb */ color: rgb(64, 85, 202); /* oklch */ color: oklch(50.3% 0.182 270.7);
Tailwind
colors: {
custom: {
50: '#8584db',
500: '#4055ca',
950: '#000000',
},
}SCSS
$custom: #4055ca; $custom-light: #8584db; $custom-dark: #000000;
JSON
{
"hex": "#4055ca",
"rgb": {
"r": 64,
"g": 85,
"b": 202
},
"hsl": {
"h": 230.87,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.50301,
"c": 0.18223,
"h": 270.7
},
"luminance": 0.11851
}Semantic roles & 50–950 ramp
primary
#4055CA
secondary
#D1C895
accent
#C948E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83