#4562E2#4562E2
#4562E2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.197 H 269.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4562E2 |
|---|---|
| RGB | rgb(69, 98, 226) |
| HSL | hsl(229, 73%, 58%) |
| HSV | hsv(229, 69%, 89%) |
| CMYK | cmyk(69.5%, 56.6%, 0%, 11.4%) |
| CIE-LAB | lab(46.30, 31.55, -68.31) |
| CIE-LCH | lch(46.30, 75.24, 294.79°) |
| OKLab | oklab(54.91% -0.0027 -0.1968) |
| OKLCH | oklch(54.91% 0.197 269.2) |
| XYZ | xyz(20.5447, 15.4895, 73.8438) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.62
Azul
#1D5DEC
ΔE00 2.94
Warm Blue
#4B57DB
ΔE00 3.88
Bright Blue
#0165FC
ΔE00 4.04
Cornflower Blue
#5170D7
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4562E2 #E2C545
analogous
#45B1E2 #4562E2 #7645E2
triadic
#4562E2 #E24562 #62E245
tetradic
#4562E2 #E245B1 #E2C545 #45E276
square
#4562E2 #E245B1 #E2C545 #45E276
split-complementary
#4562E2 #E27645 #B1E245
monochromatic
#172F95 #203FCA #4562E2 #7A8FEA #AFBBF3
Accessibility & contrast
On white
5.12
#4562E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#4562E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4562E2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4562E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4562E2 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4562e2; /* rgb */ color: rgb(69, 98, 226); /* oklch */ color: oklch(54.9% 0.197 269.2);
Tailwind
colors: {
custom: {
50: '#8b8eec',
500: '#4562e2',
950: '#000000',
},
}SCSS
$custom: #4562e2; $custom-light: #8b8eec; $custom-dark: #000000;
JSON
{
"hex": "#4562e2",
"rgb": {
"r": 69,
"g": 98,
"b": 226
},
"hsl": {
"h": 228.917,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.54906,
"c": 0.19685,
"h": 269.2
},
"luminance": 0.15492
}Semantic roles & 50–950 ramp
primary
#4562E2
secondary
#E1D5A2
accent
#CE38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84