#4E62BA#4E62BA
#4E62BA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.140 H 271.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62BA |
|---|---|
| RGB | rgb(78, 98, 186) |
| HSL | hsl(229, 44%, 52%) |
| HSV | hsv(229, 58%, 73%) |
| CMYK | cmyk(58.1%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(44.09, 19.19, -48.89) |
| CIE-LCH | lch(44.09, 52.53, 291.43°) |
| OKLab | oklab(52.51% 0.003 -0.1395) |
| OKLCH | oklch(52.51% 0.14 271.2) |
| XYZ | xyz(16.3696, 13.8990, 48.2650) |
| Luminance | 0.1390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 5.13
Dusky Blue
#475F94
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 5.76
Warm Blue
#4B57DB
ΔE00 5.89
Dark Periwinkle
#665FD1
ΔE00 6.05
Iris
#6258C4
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62BA #BAA64E
analogous
#4E98BA #4E62BA #704EBA
triadic
#4E62BA #BA4E62 #62BA4E
tetradic
#4E62BA #BA4E98 #BAA64E #4EBA70
square
#4E62BA #BA4E98 #BAA64E #4EBA70
split-complementary
#4E62BA #BA704E #98BA4E
monochromatic
#283366 #394992 #4E62BA #7A89CB #A6B0DC
Accessibility & contrast
On white
5.56
#4E62BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#4E62BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62BA
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62BA | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4e62ba; /* rgb */ color: rgb(78, 98, 186); /* oklch */ color: oklch(52.5% 0.140 271.2);
Tailwind
colors: {
custom: {
50: '#888ecf',
500: '#4e62ba',
950: '#000000',
},
}SCSS
$custom: #4e62ba; $custom-light: #888ecf; $custom-dark: #000000;
JSON
{
"hex": "#4e62ba",
"rgb": {
"r": 78,
"g": 98,
"b": 186
},
"hsl": {
"h": 228.889,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.52511,
"c": 0.13956,
"h": 271.2
},
"luminance": 0.139
}Semantic roles & 50–950 ramp
primary
#4E62BA
secondary
#CAC19A
accent
#BC54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82