#5A6FE3#5A6FE3
#5A6FE3 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.176 H 272.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6FE3 |
|---|---|
| RGB | rgb(90, 111, 227) |
| HSL | hsl(231, 71%, 62%) |
| HSV | hsv(231, 60%, 89%) |
| CMYK | cmyk(60.4%, 51.1%, 0%, 11%) |
| CIE-LAB | lab(50.79, 27.10, -61.55) |
| CIE-LCH | lch(50.79, 67.25, 293.76°) |
| OKLab | oklab(58.61% 0.0066 -0.1763) |
| OKLCH | oklch(58.61% 0.176 272.1) |
| XYZ | xyz(23.7614, 19.0867, 75.0901) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.48
Royal Blue
#4169E1
ΔE00 3.65
Cornflower
#6A79F7
ΔE00 4.74
Lightish Blue
#3D7AFD
ΔE00 6.03
Bright Blue
#0165FC
ΔE00 6.03
Cerulean Blue
#056EEE
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6FE3 #E3CE5A
analogous
#5AB3E3 #5A6FE3 #8A5AE3
triadic
#5A6FE3 #E35A6F #6FE35A
tetradic
#5A6FE3 #E35AB3 #E3CE5A #5AE38A
square
#5A6FE3 #E35AB3 #E3CE5A #5AE38A
split-complementary
#5A6FE3 #E38A5A #B3E35A
monochromatic
#1C31A6 #2641DA #5A6FE3 #8E9DEC #C3CAF5
Accessibility & contrast
On white
4.36
#5A6FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#5A6FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A6FE3
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A6FE3 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C7FE7
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #5a6fe3; /* rgb */ color: rgb(90, 111, 227); /* oklch */ color: oklch(58.6% 0.176 272.1);
Tailwind
colors: {
custom: {
50: '#9498ec',
500: '#5a6fe3',
950: '#000000',
},
}SCSS
$custom: #5a6fe3; $custom-light: #9498ec; $custom-dark: #000000;
JSON
{
"hex": "#5a6fe3",
"rgb": {
"r": 90,
"g": 111,
"b": 227
},
"hsl": {
"h": 230.803,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.58605,
"c": 0.17644,
"h": 272.1
},
"luminance": 0.19089
}Semantic roles & 50–950 ramp
primary
#5A6FE3
secondary
#E6DEB3
accent
#B512D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84