#4060D9#4060D9
#4060D9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.189 H 268.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4060D9 |
|---|---|
| RGB | rgb(64, 96, 217) |
| HSL | hsl(227, 67%, 55%) |
| HSV | hsv(227, 71%, 85%) |
| CMYK | cmyk(70.5%, 55.8%, 0%, 14.9%) |
| CIE-LAB | lab(44.89, 28.95, -65.49) |
| CIE-LCH | lch(44.89, 71.61, 293.85°) |
| OKLab | oklab(53.58% -0.0061 -0.1887) |
| OKLCH | oklch(53.58% 0.189 268.1) |
| XYZ | xyz(18.8173, 14.4636, 67.4322) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.71
Royal Blue
#4169E1
ΔE00 3.24
Warm Blue
#4B57DB
ΔE00 3.61
Bright Blue
#0165FC
ΔE00 4.71
Cornflower Blue
#5170D7
ΔE00 5.46
Electric Blue
#0652FF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4060D9 #D9B940
analogous
#40ACD9 #4060D9 #6D40D9
triadic
#4060D9 #D94060 #60D940
tetradic
#4060D9 #D940AC #D9B940 #40D96D
square
#4060D9 #D940AC #D9B940 #40D96D
split-complementary
#4060D9 #D96D40 #ACD940
monochromatic
#1A3084 #2443B7 #4060D9 #738AE3 #A6B5ED
Accessibility & contrast
On white
5.39
#4060D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#4060D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4060D9
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4060D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4060D9 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4060d9; /* rgb */ color: rgb(64, 96, 217); /* oklch */ color: oklch(53.6% 0.189 268.1);
Tailwind
colors: {
custom: {
50: '#888ce6',
500: '#4060d9',
950: '#000000',
},
}SCSS
$custom: #4060d9; $custom-light: #888ce6; $custom-dark: #000000;
JSON
{
"hex": "#4060d9",
"rgb": {
"r": 64,
"g": 96,
"b": 217
},
"hsl": {
"h": 227.451,
"s": 66.812,
"l": 55.098
},
"oklch": {
"l": 0.53579,
"c": 0.18879,
"h": 268.1
},
"luminance": 0.14465
}Semantic roles & 50–950 ramp
primary
#4060D9
secondary
#DACD9A
accent
#C63EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84