#4062AA#4062AA
#4062AA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.121 H 263.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4062AA |
|---|---|
| RGB | rgb(64, 98, 170) |
| HSL | hsl(221, 45%, 46%) |
| HSV | hsv(221, 62%, 67%) |
| CMYK | cmyk(62.4%, 42.4%, 0%, 33.3%) |
| CIE-LAB | lab(42.35, 10.88, -42.35) |
| CIE-LCH | lch(42.35, 43.72, 284.41°) |
| OKLab | oklab(50.66% -0.0135 -0.1206) |
| OKLCH | oklch(50.66% 0.121 263.6) |
| XYZ | xyz(13.7352, 12.7264, 39.7550) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.24
Dusky Blue
#475F94
ΔE00 3.52
Denim Blue
#3B5B92
ΔE00 3.82
Denim
#1560BD
ΔE00 4.07
Denim (survey)
#3B638C
ΔE00 4.70
Mid Blue
#276AB3
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4062AA #AA8840
analogous
#4097AA #4062AA #5340AA
triadic
#4062AA #AA4062 #62AA40
tetradic
#4062AA #AA4097 #AA8840 #40AA53
square
#4062AA #AA4097 #AA8840 #40AA53
split-complementary
#4062AA #AA5340 #97AA40
monochromatic
#1F2F51 #2F487E #4062AA #6382C4 #8FA6D5
Accessibility & contrast
On white
5.92
#4062AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#4062AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4062AA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4062AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4062AA | 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)
#4269AD
Deuteranopia (green-blind)
#325FA8
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4062aa; /* rgb */ color: rgb(64, 98, 170); /* oklch */ color: oklch(50.7% 0.121 263.6);
Tailwind
colors: {
custom: {
50: '#7f8ec4',
500: '#4062aa',
950: '#000000',
},
}SCSS
$custom: #4062aa; $custom-light: #7f8ec4; $custom-dark: #000000;
JSON
{
"hex": "#4062aa",
"rgb": {
"r": 64,
"g": 98,
"b": 170
},
"hsl": {
"h": 220.755,
"s": 45.299,
"l": 45.882
},
"oklch": {
"l": 0.50661,
"c": 0.12135,
"h": 263.6
},
"luminance": 0.12728
}Semantic roles & 50–950 ramp
primary
#4062AA
secondary
#C0AD86
accent
#AB53D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81