#4E64BA#4E64BA
#4E64BA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.137 H 270.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4E64BA |
|---|---|
| RGB | rgb(78, 100, 186) |
| HSL | hsl(228, 44%, 52%) |
| HSV | hsv(228, 58%, 73%) |
| CMYK | cmyk(58.1%, 46.2%, 0%, 27.1%) |
| CIE-LAB | lab(44.63, 17.92, -48.03) |
| CIE-LCH | lch(44.63, 51.26, 290.47°) |
| OKLab | oklab(52.92% 0.0009 -0.137) |
| OKLCH | oklch(52.92% 0.137 270.4) |
| XYZ | xyz(16.5590, 14.2779, 48.3282) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.54
Royal Blue
#4169E1
ΔE00 5.43
Dusky Blue
#475F94
ΔE00 5.64
Cornflower Blue
#5170D7
ΔE00 5.69
Warm Blue
#4B57DB
ΔE00 6.35
Denim
#1560BD
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E64BA #BAA44E
analogous
#4E9ABA #4E64BA #6E4EBA
triadic
#4E64BA #BA4E64 #64BA4E
tetradic
#4E64BA #BA4E9A #BAA44E #4EBA6E
square
#4E64BA #BA4E9A #BAA44E #4EBA6E
split-complementary
#4E64BA #BA6E4E #9ABA4E
monochromatic
#283466 #394B92 #4E64BA #7A8BCB #A6B1DC
Accessibility & contrast
On white
5.45
#4E64BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#4E64BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E64BA
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E64BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E64BA | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4e64ba; /* rgb */ color: rgb(78, 100, 186); /* oklch */ color: oklch(52.9% 0.137 270.4);
Tailwind
colors: {
custom: {
50: '#888fcf',
500: '#4e64ba',
950: '#000000',
},
}SCSS
$custom: #4e64ba; $custom-light: #888fcf; $custom-dark: #000000;
JSON
{
"hex": "#4e64ba",
"rgb": {
"r": 78,
"g": 100,
"b": 186
},
"hsl": {
"h": 227.778,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.52923,
"c": 0.13696,
"h": 270.4
},
"luminance": 0.14279
}Semantic roles & 50–950 ramp
primary
#4E64BA
secondary
#CAC09A
accent
#BA54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82