#4059C7#4059C7
#4059C7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.173 H 269.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #4059C7 |
|---|---|
| RGB | rgb(64, 89, 199) |
| HSL | hsl(229, 55%, 52%) |
| HSV | hsv(229, 68%, 78%) |
| CMYK | cmyk(67.8%, 55.3%, 0%, 22%) |
| CIE-LAB | lab(41.78, 26.99, -60.21) |
| CIE-LCH | lch(41.78, 65.98, 294.15°) |
| OKLab | oklab(50.83% -0.0013 -0.1732) |
| OKLCH | oklch(50.83% 0.173 269.6) |
| XYZ | xyz(15.9920, 12.3567, 55.5641) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.55
Azul
#1D5DEC
ΔE00 4.84
Sapphire
#0F52BA
ΔE00 5.09
Iris
#6258C4
ΔE00 5.70
Royal Blue
#4169E1
ΔE00 6.32
Dark Periwinkle
#665FD1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4059C7 #C7AE40
analogous
#409DC7 #4059C7 #6B40C7
triadic
#4059C7 #C74059 #59C740
tetradic
#4059C7 #C7409D #C7AE40 #40C76B
square
#4059C7 #C7409D #C7AE40 #40C76B
split-complementary
#4059C7 #C76B40 #9DC740
monochromatic
#202E6D #2E429C #4059C7 #6F82D5 #9FABE3
Accessibility & contrast
On white
6.05
#4059C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#4059C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4059C7
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4059C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4059C7 | 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)
#0069CB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4059c7; /* rgb */ color: rgb(64, 89, 199); /* oklch */ color: oklch(50.8% 0.173 269.6);
Tailwind
colors: {
custom: {
50: '#8487d9',
500: '#4059c7',
950: '#000000',
},
}SCSS
$custom: #4059c7; $custom-light: #8487d9; $custom-dark: #000000;
JSON
{
"hex": "#4059c7",
"rgb": {
"r": 64,
"g": 89,
"b": 199
},
"hsl": {
"h": 228.889,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.5083,
"c": 0.17324,
"h": 269.6
},
"luminance": 0.12358
}Semantic roles & 50–950 ramp
primary
#4059C7
secondary
#CFC494
accent
#C34ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83