#4062BA#4062BA
#4062BA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.144 H 265.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4062BA |
|---|---|
| RGB | rgb(64, 98, 186) |
| HSL | hsl(223, 49%, 49%) |
| HSV | hsv(223, 66%, 73%) |
| CMYK | cmyk(65.6%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(43.31, 16.57, -50.18) |
| CIE-LCH | lch(43.31, 52.84, 288.28°) |
| OKLab | oklab(51.71% -0.0108 -0.1436) |
| OKLCH | oklch(51.71% 0.144 265.7) |
| XYZ | xyz(15.3419, 13.3691, 48.2168) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.74
Denim
#1560BD
ΔE00 4.11
Dusky Blue
#475F94
ΔE00 5.32
Royal Blue
#4169E1
ΔE00 5.54
Denim Blue
#3B5B92
ΔE00 5.65
Mid Blue
#276AB3
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4062BA #BA9840
analogous
#409FBA #4062BA #5B40BA
triadic
#4062BA #BA4062 #62BA40
tetradic
#4062BA #BA409F #BA9840 #40BA5B
square
#4062BA #BA409F #BA9840 #40BA5B
split-complementary
#4062BA #BA5B40 #9FBA40
monochromatic
#21325F #304A8C #4062BA #6B86CC #99ABDC
Accessibility & contrast
On white
5.72
#4062BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#4062BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4062BA
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4062BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4062BA | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4062ba; /* rgb */ color: rgb(64, 98, 186); /* oklch */ color: oklch(51.7% 0.144 265.7);
Tailwind
colors: {
custom: {
50: '#818ecf',
500: '#4062ba',
950: '#000000',
},
}SCSS
$custom: #4062ba; $custom-light: #818ecf; $custom-dark: #000000;
JSON
{
"hex": "#4062ba",
"rgb": {
"r": 64,
"g": 98,
"b": 186
},
"hsl": {
"h": 223.279,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.51714,
"c": 0.144,
"h": 265.7
},
"luminance": 0.13371
}Semantic roles & 50–950 ramp
primary
#4062BA
secondary
#C8B88E
accent
#B24FD8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82