#5A6FEE#5A6FEE
#5A6FEE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.4% C 0.191 H 272.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6FEE |
|---|---|
| RGB | rgb(90, 111, 238) |
| HSL | hsl(231, 81%, 64%) |
| HSV | hsv(231, 62%, 93%) |
| CMYK | cmyk(62.2%, 53.4%, 0%, 6.7%) |
| CIE-LAB | lab(51.51, 30.76, -66.55) |
| CIE-LCH | lch(51.51, 73.31, 294.80°) |
| OKLab | oklab(59.38% 0.0073 -0.191) |
| OKLCH | oklch(59.38% 0.191 272.2) |
| XYZ | xyz(25.3284, 19.7134, 83.3427) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.67
Cornflower
#6A79F7
ΔE00 3.93
Royal Blue
#4169E1
ΔE00 4.32
Lightish Blue
#3D7AFD
ΔE00 5.64
Bright Blue
#0165FC
ΔE00 5.94
Mediumslateblue
#7B68EE
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6FEE #EED95A
analogous
#5AB9EE #5A6FEE #8F5AEE
triadic
#5A6FEE #EE5A6F #6FEE5A
tetradic
#5A6FEE #EE5AB9 #EED95A #5AEE8F
square
#5A6FEE #EE5AB9 #EED95A #5AEE8F
split-complementary
#5A6FEE #EE8F5A #B9EE5A
monochromatic
#132BBA #233FE8 #5A6FEE #919FF4 #C9D0F9
Accessibility & contrast
On white
4.25
#5A6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#5A6FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A6FEE
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A6FEE | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1582F2
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5a6fee; /* rgb */ color: rgb(90, 111, 238); /* oklch */ color: oklch(59.4% 0.191 272.2);
Tailwind
colors: {
custom: {
50: '#9698f4',
500: '#5a6fee',
950: '#000000',
},
}SCSS
$custom: #5a6fee; $custom-light: #9698f4; $custom-dark: #000000;
JSON
{
"hex": "#5a6fee",
"rgb": {
"r": 90,
"g": 111,
"b": 238
},
"hsl": {
"h": 231.486,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.5938,
"c": 0.19118,
"h": 272.2
},
"luminance": 0.19716
}Semantic roles & 50–950 ramp
primary
#5A6FEE
secondary
#ECE4B8
accent
#BF08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85