#5F5BDA#5F5BDA
#5F5BDA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.189 H 279.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5BDA |
|---|---|
| RGB | rgb(95, 91, 218) |
| HSL | hsl(242, 63%, 61%) |
| HSV | hsv(242, 58%, 85%) |
| CMYK | cmyk(56.4%, 58.3%, 0%, 14.5%) |
| CIE-LAB | lab(45.60, 37.28, -64.82) |
| CIE-LCH | lch(45.60, 74.78, 299.91°) |
| OKLab | oklab(54.62% 0.0312 -0.186) |
| OKLCH | oklch(54.62% 0.189 279.5) |
| XYZ | xyz(21.1113, 14.9756, 68.0942) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.97
Slate Blue
#6A5ACD
ΔE00 2.71
Warm Blue
#4B57DB
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 2.96
Iris
#6258C4
ΔE00 3.37
Azul
#1D5DEC
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5BDA #D6DA5B
analogous
#5B96DA #5F5BDA #9E5BDA
triadic
#5F5BDA #DA5F5B #5BDA5F
tetradic
#5F5BDA #DA5B96 #D6DA5B #5BDA9E
square
#5F5BDA #DA5B96 #D6DA5B #5BDA9E
split-complementary
#5F5BDA #DA9E5B #96DA5B
monochromatic
#262298 #332ECA #5F5BDA #908DE5 #C0BFF1
Accessibility & contrast
On white
5.26
#5F5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#5F5BDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5BDA
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5BDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5BDA | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#1A7992
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5f5bda; /* rgb */ color: rgb(95, 91, 218); /* oklch */ color: oklch(54.6% 0.189 279.5);
Tailwind
colors: {
custom: {
50: '#9789e6',
500: '#5f5bda',
950: '#000000',
},
}SCSS
$custom: #5f5bda; $custom-light: #9789e6; $custom-dark: #000000;
JSON
{
"hex": "#5f5bda",
"rgb": {
"r": 95,
"g": 91,
"b": 218
},
"hsl": {
"h": 241.89,
"s": 63.184,
"l": 60.588
},
"oklch": {
"l": 0.54621,
"c": 0.18862,
"h": 279.5
},
"luminance": 0.14977
}Semantic roles & 50–950 ramp
primary
#5F5BDA
secondary
#DFE1B0
accent
#CB1BC5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0B16
muted
#7E7C84