#4062CF#4062CF
#4062CF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.173 H 267.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4062CF |
|---|---|
| RGB | rgb(64, 98, 207) |
| HSL | hsl(226, 60%, 53%) |
| HSV | hsv(226, 69%, 81%) |
| CMYK | cmyk(69.1%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(44.70, 24.11, -60.08) |
| CIE-LCH | lch(44.70, 64.74, 291.86°) |
| OKLab | oklab(53.21% -0.0084 -0.1727) |
| OKLCH | oklch(53.21% 0.173 267.2) |
| XYZ | xyz(17.7406, 14.3286, 60.8501) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.31
Azul
#1D5DEC
ΔE00 3.72
Warm Blue
#4B57DB
ΔE00 4.81
Cornflower Blue
#5170D7
ΔE00 5.09
Bright Blue
#0165FC
ΔE00 5.35
French Blue
#436BAD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4062CF #CFAD40
analogous
#40AACF #4062CF #6540CF
triadic
#4062CF #CF4062 #62CF40
tetradic
#4062CF #CF40AA #CFAD40 #40CF65
square
#4062CF #CF40AA #CFAD40 #40CF65
split-complementary
#4062CF #CF6540 #AACF40
monochromatic
#1E3377 #2A48A8 #4062CF #718ADB #A2B2E8
Accessibility & contrast
On white
5.43
#4062CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#4062CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4062CF
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4062CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4062CF | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1771D3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4062cf; /* rgb */ color: rgb(64, 98, 207); /* oklch */ color: oklch(53.2% 0.173 267.2);
Tailwind
colors: {
custom: {
50: '#858ede',
500: '#4062cf',
950: '#000000',
},
}SCSS
$custom: #4062cf; $custom-light: #858ede; $custom-dark: #000000;
JSON
{
"hex": "#4062cf",
"rgb": {
"r": 64,
"g": 98,
"b": 207
},
"hsl": {
"h": 225.734,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.53211,
"c": 0.17295,
"h": 267.2
},
"luminance": 0.1433
}Semantic roles & 50–950 ramp
primary
#4062CF
secondary
#D4C697
accent
#BD45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83