#5F56DA#5F56DA
#5F56DA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.8% C 0.195 H 280.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5F56DA |
|---|---|
| RGB | rgb(95, 86, 218) |
| HSL | hsl(244, 64%, 60%) |
| HSV | hsv(244, 61%, 85%) |
| CMYK | cmyk(56.4%, 60.6%, 0%, 14.5%) |
| CIE-LAB | lab(44.45, 40.27, -66.70) |
| CIE-LCH | lch(44.45, 77.92, 301.12°) |
| OKLab | oklab(53.77% 0.036 -0.1916) |
| OKLCH | oklch(53.77% 0.195 280.7) |
| XYZ | xyz(20.6980, 14.1491, 67.9564) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.74
Warm Blue
#4B57DB
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 2.95
Dark Periwinkle
#665FD1
ΔE00 3.04
Iris
#6258C4
ΔE00 3.20
Purpleish Blue
#6140EF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F56DA #D1DA56
analogous
#568FDA #5F56DA #A156DA
triadic
#5F56DA #DA5F56 #56DA5F
tetradic
#5F56DA #DA568F #D1DA56 #56DAA1
square
#5F56DA #DA568F #D1DA56 #56DAA1
split-complementary
#5F56DA #DAA156 #8FDA56
monochromatic
#292195 #362CC7 #5F56DA #8F88E5 #BEBAF0
Accessibility & contrast
On white
5.48
#5F56DA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#5F56DA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F56DA
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F56DA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F56DA | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#1B7690
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5f56da; /* rgb */ color: rgb(95, 86, 218); /* oklch */ color: oklch(53.8% 0.195 280.7);
Tailwind
colors: {
custom: {
50: '#9786e6',
500: '#5f56da',
950: '#000000',
},
}SCSS
$custom: #5f56da; $custom-light: #9786e6; $custom-dark: #000000;
JSON
{
"hex": "#5f56da",
"rgb": {
"r": 95,
"g": 86,
"b": 218
},
"hsl": {
"h": 244.091,
"s": 64.078,
"l": 59.608
},
"oklch": {
"l": 0.5377,
"c": 0.19493,
"h": 280.7
},
"luminance": 0.1415
}Semantic roles & 50–950 ramp
primary
#5F56DA
secondary
#DCE0AC
accent
#E741DC
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84