#4056CA#4056CA
#4056CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.181 H 270.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4056CA |
|---|---|
| RGB | rgb(64, 86, 202) |
| HSL | hsl(230, 57%, 52%) |
| HSV | hsv(230, 68%, 79%) |
| CMYK | cmyk(68.3%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.23, 29.97, -62.83) |
| CIE-LCH | lch(41.23, 69.61, 295.50°) |
| OKLab | oklab(50.49% 0.0013 -0.181) |
| OKLCH | oklch(50.49% 0.181 270.4) |
| XYZ | xyz(16.0992, 12.0083, 57.3351) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.96
Azul
#1D5DEC
ΔE00 5.03
Sapphire
#0F52BA
ΔE00 5.32
Iris
#6258C4
ΔE00 5.37
Electric Blue
#0652FF
ΔE00 6.13
Blue (survey)
#0343DF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4056CA #CAB440
analogous
#409BCA #4056CA #6F40CA
triadic
#4056CA #CA4056 #56CA40
tetradic
#4056CA #CA409B #CAB440 #40CA6F
square
#4056CA #CA409B #CAB440 #40CA6F
split-complementary
#4056CA #CA6F40 #9BCA40
monochromatic
#1F2C70 #2C3FA0 #4056CA #7080D7 #A0ABE5
Accessibility & contrast
On white
6.17
#4056CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#4056CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4056CA
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4056CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4056CA | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4056ca; /* rgb */ color: rgb(64, 86, 202); /* oklch */ color: oklch(50.5% 0.181 270.4);
Tailwind
colors: {
custom: {
50: '#8585db',
500: '#4056ca',
950: '#000000',
},
}SCSS
$custom: #4056ca; $custom-light: #8585db; $custom-dark: #000000;
JSON
{
"hex": "#4056ca",
"rgb": {
"r": 64,
"g": 86,
"b": 202
},
"hsl": {
"h": 230.435,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.5049,
"c": 0.181,
"h": 270.4
},
"luminance": 0.1201
}Semantic roles & 50–950 ramp
primary
#4056CA
secondary
#D1C795
accent
#C848E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83