#4059CA#4059CA
#4059CA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.177 H 269.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4059CA |
|---|---|
| RGB | rgb(64, 89, 202) |
| HSL | hsl(229, 57%, 52%) |
| HSV | hsv(229, 68%, 79%) |
| CMYK | cmyk(68.3%, 55.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.00, 28.06, -61.59) |
| CIE-LCH | lch(42.00, 67.68, 294.49°) |
| OKLab | oklab(51.06% -0.0011 -0.1773) |
| OKLCH | oklch(51.06% 0.177 269.6) |
| XYZ | xyz(16.3438, 12.4974, 57.4166) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.18
Azul
#1D5DEC
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 5.33
Iris
#6258C4
ΔE00 5.63
Royal Blue
#4169E1
ΔE00 6.13
Dark Periwinkle
#665FD1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4059CA #CAB140
analogous
#409ECA #4059CA #6C40CA
triadic
#4059CA #CA4059 #59CA40
tetradic
#4059CA #CA409E #CAB140 #40CA6C
square
#4059CA #CA409E #CAB140 #40CA6C
split-complementary
#4059CA #CA6C40 #9ECA40
monochromatic
#1F2E70 #2C41A0 #4059CA #7083D7 #A0ACE5
Accessibility & contrast
On white
6.00
#4059CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#4059CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4059CA
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4059CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4059CA | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4059ca; /* rgb */ color: rgb(64, 89, 202); /* oklch */ color: oklch(51.1% 0.177 269.6);
Tailwind
colors: {
custom: {
50: '#8587db',
500: '#4059ca',
950: '#000000',
},
}SCSS
$custom: #4059ca; $custom-light: #8587db; $custom-dark: #000000;
JSON
{
"hex": "#4059ca",
"rgb": {
"r": 64,
"g": 89,
"b": 202
},
"hsl": {
"h": 229.13,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.51063,
"c": 0.1773,
"h": 269.6
},
"luminance": 0.12499
}Semantic roles & 50–950 ramp
primary
#4059CA
secondary
#D1C695
accent
#C448E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83