#5F6AE1#5F6AE1
#5F6AE1 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.8% C 0.179 H 275.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5F6AE1 |
|---|---|
| RGB | rgb(95, 106, 225) |
| HSL | hsl(235, 68%, 63%) |
| HSV | hsv(235, 58%, 88%) |
| CMYK | cmyk(57.8%, 52.9%, 0%, 11.8%) |
| CIE-LAB | lab(49.71, 30.41, -62.15) |
| CIE-LCH | lch(49.71, 69.19, 296.08°) |
| OKLab | oklab(57.83% 0.0166 -0.178) |
| OKLCH | oklch(57.83% 0.179 275.3) |
| XYZ | xyz(23.4596, 18.1755, 73.4916) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.94
Royal Blue
#4169E1
ΔE00 4.23
Dark Periwinkle
#665FD1
ΔE00 4.66
Mediumslateblue
#7B68EE
ΔE00 5.37
Cornflower
#6A79F7
ΔE00 5.86
Warm Blue
#4B57DB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F6AE1 #E1D65F
analogous
#5FABE1 #5F6AE1 #955FE1
triadic
#5F6AE1 #E15F6A #6AE15F
tetradic
#5F6AE1 #E15FAB #E1D65F #5FE195
square
#5F6AE1 #E15FAB #E1D65F #5FE195
split-complementary
#5F6AE1 #E1955F #ABE15F
monochromatic
#1F2BA6 #2B3AD7 #5F6AE1 #939AEB #C6CAF4
Accessibility & contrast
On white
4.53
#5F6AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#5F6AE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F6AE1
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F6AE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F6AE1 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#217CE5
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5f6ae1; /* rgb */ color: rgb(95, 106, 225); /* oklch */ color: oklch(57.8% 0.179 275.3);
Tailwind
colors: {
custom: {
50: '#9794eb',
500: '#5f6ae1',
950: '#000000',
},
}SCSS
$custom: #5f6ae1; $custom-light: #9794eb; $custom-dark: #000000;
JSON
{
"hex": "#5f6ae1",
"rgb": {
"r": 95,
"g": 106,
"b": 225
},
"hsl": {
"h": 234.923,
"s": 68.421,
"l": 62.745
},
"oklch": {
"l": 0.57831,
"c": 0.1788,
"h": 275.3
},
"luminance": 0.18177
}Semantic roles & 50–950 ramp
primary
#5F6AE1
secondary
#E5E1B6
accent
#C115D0
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84