#5F53BF#5F53BF
#5F53BF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.163 H 284.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5F53BF |
|---|---|
| RGB | rgb(95, 83, 191) |
| HSL | hsl(247, 46%, 54%) |
| HSV | hsv(247, 57%, 75%) |
| CMYK | cmyk(50.3%, 56.5%, 0%, 25.1%) |
| CIE-LAB | lab(41.81, 33.69, -55.40) |
| CIE-LCH | lch(41.81, 64.84, 301.30°) |
| OKLab | oklab(51.22% 0.0397 -0.1583) |
| OKLCH | oklch(51.22% 0.163 284.1) |
| XYZ | xyz(17.2137, 12.3801, 50.7627) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.70
Slate Blue
#6A5ACD
ΔE00 3.36
Light Indigo
#6D5ACF
ΔE00 3.84
Dark Periwinkle
#665FD1
ΔE00 4.59
Warm Blue
#4B57DB
ΔE00 5.12
Bluey Purple
#6241C7
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F53BF #B3BF53
analogous
#537DBF #5F53BF #9553BF
triadic
#5F53BF #BF5F53 #53BF5F
tetradic
#5F53BF #BF537D #B3BF53 #53BF95
square
#5F53BF #BF537D #B3BF53 #53BF95
split-complementary
#5F53BF #BF9553 #7DBF53
monochromatic
#31296E #453A9B #5F53BF #8880D0 #B2ACE0
Accessibility & contrast
On white
6.04
#5F53BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5F53BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F53BF
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F53BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F53BF | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0666C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#3B6B81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f53bf; /* rgb */ color: rgb(95, 83, 191); /* oklch */ color: oklch(51.2% 0.163 284.1);
Tailwind
colors: {
custom: {
50: '#9384d3',
500: '#5f53bf',
950: '#000000',
},
}SCSS
$custom: #5f53bf; $custom-light: #9384d3; $custom-dark: #000000;
JSON
{
"hex": "#5f53bf",
"rgb": {
"r": 95,
"g": 83,
"b": 191
},
"hsl": {
"h": 246.667,
"s": 45.763,
"l": 53.725
},
"oklch": {
"l": 0.51219,
"c": 0.16325,
"h": 284.1
},
"luminance": 0.12381
}Semantic roles & 50–950 ramp
primary
#5F53BF
secondary
#C9CEA0
accent
#D552C7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83