#4059CF#4059CF
#4059CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.184 H 269.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4059CF |
|---|---|
| RGB | rgb(64, 89, 207) |
| HSL | hsl(230, 60%, 53%) |
| HSV | hsv(230, 69%, 81%) |
| CMYK | cmyk(69.1%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(42.37, 29.83, -63.87) |
| CIE-LCH | lch(42.37, 70.49, 295.04°) |
| OKLab | oklab(51.46% -0.001 -0.184) |
| OKLCH | oklch(51.46% 0.184 269.7) |
| XYZ | xyz(16.9454, 12.7381, 60.5850) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.61
Azul
#1D5DEC
ΔE00 4.06
Iris
#6258C4
ΔE00 5.57
Electric Blue
#0652FF
ΔE00 5.67
Sapphire
#0F52BA
ΔE00 5.76
Royal Blue
#4169E1
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4059CF #CFB640
analogous
#40A1CF #4059CF #6E40CF
triadic
#4059CF #CF4059 #59CF40
tetradic
#4059CF #CF40A1 #CFB640 #40CF6E
square
#4059CF #CF40A1 #CFB640 #40CF6E
split-complementary
#4059CF #CF6E40 #A1CF40
monochromatic
#1E2D77 #2A40A8 #4059CF #7184DB #A2AEE8
Accessibility & contrast
On white
5.92
#4059CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#4059CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4059CF
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4059CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4059CF | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4059cf; /* rgb */ color: rgb(64, 89, 207); /* oklch */ color: oklch(51.5% 0.184 269.7);
Tailwind
colors: {
custom: {
50: '#8687df',
500: '#4059cf',
950: '#000000',
},
}SCSS
$custom: #4059cf; $custom-light: #8687df; $custom-dark: #000000;
JSON
{
"hex": "#4059cf",
"rgb": {
"r": 64,
"g": 89,
"b": 207
},
"hsl": {
"h": 229.51,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.51456,
"c": 0.18401,
"h": 269.7
},
"luminance": 0.1274
}Semantic roles & 50–950 ramp
primary
#4059CF
secondary
#D4C997
accent
#C745E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83