#4562E1#4562E1
#4562E1 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.196 H 269.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4562E1 |
|---|---|
| RGB | rgb(69, 98, 225) |
| HSL | hsl(229, 72%, 58%) |
| HSV | hsv(229, 69%, 88%) |
| CMYK | cmyk(69.3%, 56.4%, 0%, 11.8%) |
| CIE-LAB | lab(46.22, 31.20, -67.86) |
| CIE-LCH | lch(46.22, 74.69, 294.69°) |
| OKLab | oklab(54.83% -0.0028 -0.1955) |
| OKLCH | oklch(54.83% 0.196 269.2) |
| XYZ | xyz(20.4079, 15.4348, 73.1233) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.61
Azul
#1D5DEC
ΔE00 2.95
Warm Blue
#4B57DB
ΔE00 3.86
Bright Blue
#0165FC
ΔE00 4.10
Cornflower Blue
#5170D7
ΔE00 4.83
Dark Periwinkle
#665FD1
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4562E1 #E1C445
analogous
#45B0E1 #4562E1 #7645E1
triadic
#4562E1 #E14562 #62E145
tetradic
#4562E1 #E145B0 #E1C445 #45E176
square
#4562E1 #E145B0 #E1C445 #45E176
split-complementary
#4562E1 #E17645 #B0E145
monochromatic
#182F94 #2040C8 #4562E1 #7A8EE9 #AEBBF2
Accessibility & contrast
On white
5.14
#4562E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#4562E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4562E1
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4562E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4562E1 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4562e1; /* rgb */ color: rgb(69, 98, 225); /* oklch */ color: oklch(54.8% 0.196 269.2);
Tailwind
colors: {
custom: {
50: '#8b8eeb',
500: '#4562e1',
950: '#000000',
},
}SCSS
$custom: #4562e1; $custom-light: #8b8eeb; $custom-dark: #000000;
JSON
{
"hex": "#4562e1",
"rgb": {
"r": 69,
"g": 98,
"b": 225
},
"hsl": {
"h": 228.846,
"s": 72.222,
"l": 57.647
},
"oklch": {
"l": 0.54828,
"c": 0.19554,
"h": 269.2
},
"luminance": 0.15437
}Semantic roles & 50–950 ramp
primary
#4562E1
secondary
#E0D5A2
accent
#CD39EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84