#4059C0#4059C0
#4059C0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.164 H 269.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4059C0 |
|---|---|
| RGB | rgb(64, 89, 192) |
| HSL | hsl(228, 50%, 50%) |
| HSV | hsv(228, 67%, 75%) |
| CMYK | cmyk(66.7%, 53.6%, 0%, 24.7%) |
| CIE-LAB | lab(41.28, 24.50, -56.95) |
| CIE-LCH | lch(41.28, 62.00, 293.27°) |
| OKLab | oklab(50.3% -0.0017 -0.1637) |
| OKLCH | oklch(50.3% 0.164 269.4) |
| XYZ | xyz(15.1979, 12.0391, 51.3818) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.44
Sapphire
#0F52BA
ΔE00 4.65
Azul
#1D5DEC
ΔE00 5.61
Iris
#6258C4
ΔE00 5.98
Denim
#1560BD
ΔE00 6.06
Dusky Blue
#475F94
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4059C0 #C0A740
analogous
#4099C0 #4059C0 #6740C0
triadic
#4059C0 #C04059 #59C040
tetradic
#4059C0 #C04099 #C0A740 #40C067
square
#4059C0 #C04099 #C0A740 #40C067
split-complementary
#4059C0 #C06740 #99C040
monochromatic
#212E64 #304392 #4059C0 #6E81CF #9CA9DE
Accessibility & contrast
On white
6.16
#4059C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#4059C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4059C0
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4059C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4059C0 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F67C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4059c0; /* rgb */ color: rgb(64, 89, 192); /* oklch */ color: oklch(50.3% 0.164 269.4);
Tailwind
colors: {
custom: {
50: '#8387d4',
500: '#4059c0',
950: '#000000',
},
}SCSS
$custom: #4059c0; $custom-light: #8387d4; $custom-dark: #000000;
JSON
{
"hex": "#4059c0",
"rgb": {
"r": 64,
"g": 89,
"b": 192
},
"hsl": {
"h": 228.281,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.50297,
"c": 0.16368,
"h": 269.4
},
"luminance": 0.12041
}Semantic roles & 50–950 ramp
primary
#4059C0
secondary
#CBBF91
accent
#BF4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83