#4057C7#4057C7
#4057C7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.176 H 270.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4057C7 |
|---|---|
| RGB | rgb(64, 87, 199) |
| HSL | hsl(230, 55%, 52%) |
| HSV | hsv(230, 68%, 78%) |
| CMYK | cmyk(67.8%, 56.3%, 0%, 22%) |
| CIE-LAB | lab(41.26, 28.27, -61.05) |
| CIE-LCH | lch(41.26, 67.27, 294.85°) |
| OKLab | oklab(50.44% 0.0004 -0.1757) |
| OKLCH | oklch(50.44% 0.176 270.1) |
| XYZ | xyz(15.8278, 12.0284, 55.5093) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 5.07
Azul
#1D5DEC
ΔE00 5.14
Iris
#6258C4
ΔE00 5.50
Dark Periwinkle
#665FD1
ΔE00 6.37
Blue Blue
#2242C7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4057C7 #C7B040
analogous
#409BC7 #4057C7 #6D40C7
triadic
#4057C7 #C74057 #57C740
tetradic
#4057C7 #C7409B #C7B040 #40C76D
square
#4057C7 #C7409B #C7B040 #40C76D
split-complementary
#4057C7 #C76D40 #9BC740
monochromatic
#202D6D #2E419C #4057C7 #6F81D5 #9FAAE3
Accessibility & contrast
On white
6.17
#4057C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#4057C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4057C7
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4057C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4057C7 | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4057c7; /* rgb */ color: rgb(64, 87, 199); /* oklch */ color: oklch(50.4% 0.176 270.1);
Tailwind
colors: {
custom: {
50: '#8586d9',
500: '#4057c7',
950: '#000000',
},
}SCSS
$custom: #4057c7; $custom-light: #8586d9; $custom-dark: #000000;
JSON
{
"hex": "#4057c7",
"rgb": {
"r": 64,
"g": 87,
"b": 199
},
"hsl": {
"h": 229.778,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.50443,
"c": 0.17573,
"h": 270.1
},
"luminance": 0.1203
}Semantic roles & 50–950 ramp
primary
#4057C7
secondary
#CFC594
accent
#C54ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83