#4057CE#4057CE
#4057CE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.185 H 270.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #4057CE |
|---|---|
| RGB | rgb(64, 87, 206) |
| HSL | hsl(230, 59%, 53%) |
| HSV | hsv(230, 69%, 81%) |
| CMYK | cmyk(68.9%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(41.78, 30.75, -64.24) |
| CIE-LCH | lch(41.78, 71.22, 295.58°) |
| OKLab | oklab(51% 0.0006 -0.1851) |
| OKLCH | oklch(51% 0.185 270.2) |
| XYZ | xyz(16.6593, 12.3610, 59.8885) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.52
Azul
#1D5DEC
ΔE00 4.49
Iris
#6258C4
ΔE00 5.40
Sapphire
#0F52BA
ΔE00 5.65
Electric Blue
#0652FF
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4057CE #CEB740
analogous
#409ECE #4057CE #7040CE
triadic
#4057CE #CE4057 #57CE40
tetradic
#4057CE #CE409E #CEB740 #40CE70
square
#4057CE #CE409E #CEB740 #40CE70
split-complementary
#4057CE #CE7040 #9ECE40
monochromatic
#1E2C75 #2B3FA6 #4057CE #7182DA #A1ADE7
Accessibility & contrast
On white
6.05
#4057CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#4057CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4057CE
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4057CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4057CE | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4057ce; /* rgb */ color: rgb(64, 87, 206); /* oklch */ color: oklch(51.0% 0.185 270.2);
Tailwind
colors: {
custom: {
50: '#8686de',
500: '#4057ce',
950: '#000000',
},
}SCSS
$custom: #4057ce; $custom-light: #8686de; $custom-dark: #000000;
JSON
{
"hex": "#4057ce",
"rgb": {
"r": 64,
"g": 87,
"b": 206
},
"hsl": {
"h": 230.282,
"s": 59.167,
"l": 52.941
},
"oklch": {
"l": 0.50998,
"c": 0.18512,
"h": 270.2
},
"luminance": 0.12363
}Semantic roles & 50–950 ramp
primary
#4057CE
secondary
#D4CA96
accent
#C945E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83