#5F53BE#5F53BE
#5F53BE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.162 H 284.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5F53BE |
|---|---|
| RGB | rgb(95, 83, 190) |
| HSL | hsl(247, 45%, 54%) |
| HSV | hsv(247, 56%, 75%) |
| CMYK | cmyk(50%, 56.3%, 0%, 25.5%) |
| CIE-LAB | lab(41.75, 33.38, -54.93) |
| CIE-LCH | lch(41.75, 64.28, 301.29°) |
| OKLab | oklab(51.15% 0.0397 -0.157) |
| OKLCH | oklch(51.15% 0.162 284.2) |
| XYZ | xyz(17.1041, 12.3362, 50.1851) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.77
Slate Blue
#6A5ACD
ΔE00 3.45
Light Indigo
#6D5ACF
ΔE00 3.93
Dark Periwinkle
#665FD1
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F53BE #B2BE53
analogous
#537CBE #5F53BE #9453BE
triadic
#5F53BE #BE5F53 #53BE5F
tetradic
#5F53BE #BE537C #B2BE53 #53BE94
square
#5F53BE #BE537C #B2BE53 #53BE94
split-complementary
#5F53BE #BE9453 #7CBE53
monochromatic
#31296D #453A9A #5F53BE #887FCF #B2ACE0
Accessibility & contrast
On white
6.06
#5F53BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5F53BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F53BE
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F53BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F53BE | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#3C6B80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5f53be; /* rgb */ color: rgb(95, 83, 190); /* oklch */ color: oklch(51.1% 0.162 284.2);
Tailwind
colors: {
custom: {
50: '#9384d2',
500: '#5f53be',
950: '#000000',
},
}SCSS
$custom: #5f53be; $custom-light: #9384d2; $custom-dark: #000000;
JSON
{
"hex": "#5f53be",
"rgb": {
"r": 95,
"g": 83,
"b": 190
},
"hsl": {
"h": 246.729,
"s": 45.148,
"l": 53.529
},
"oklch": {
"l": 0.51147,
"c": 0.1619,
"h": 284.2
},
"luminance": 0.12337
}Semantic roles & 50–950 ramp
primary
#5F53BE
secondary
#C8CD9F
accent
#D553C6
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83