#5F53BA#5F53BA
#5F53BA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.156 H 284.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5F53BA |
|---|---|
| RGB | rgb(95, 83, 186) |
| HSL | hsl(247, 43%, 53%) |
| HSV | hsv(247, 55%, 73%) |
| CMYK | cmyk(48.9%, 55.4%, 0%, 27.1%) |
| CIE-LAB | lab(41.48, 32.16, -53.03) |
| CIE-LCH | lch(41.48, 62.02, 301.23°) |
| OKLab | oklab(50.86% 0.0396 -0.1514) |
| OKLCH | oklch(50.86% 0.156 284.7) |
| XYZ | xyz(16.6729, 12.1638, 47.9142) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.13
Slate Blue
#6A5ACD
ΔE00 3.86
Light Indigo
#6D5ACF
ΔE00 4.32
Dark Periwinkle
#665FD1
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.31
Bluey Purple
#6241C7
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F53BA #AEBA53
analogous
#537BBA #5F53BA #9253BA
triadic
#5F53BA #BA5F53 #53BA5F
tetradic
#5F53BA #BA537B #AEBA53 #53BA92
square
#5F53BA #BA537B #AEBA53 #53BA92
split-complementary
#5F53BA #BA9253 #7BBA53
monochromatic
#312A69 #463B94 #5F53BA #887FCC #B0AADD
Accessibility & contrast
On white
6.12
#5F53BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5F53BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F53BA
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F53BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F53BA | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#3F6A7E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5f53ba; /* rgb */ color: rgb(95, 83, 186); /* oklch */ color: oklch(50.9% 0.156 284.7);
Tailwind
colors: {
custom: {
50: '#9383cf',
500: '#5f53ba',
950: '#000000',
},
}SCSS
$custom: #5f53ba; $custom-light: #9383cf; $custom-dark: #000000;
JSON
{
"hex": "#5f53ba",
"rgb": {
"r": 95,
"g": 83,
"b": 186
},
"hsl": {
"h": 246.99,
"s": 42.739,
"l": 52.745
},
"oklch": {
"l": 0.5086,
"c": 0.15646,
"h": 284.7
},
"luminance": 0.12165
}Semantic roles & 50–950 ramp
primary
#5F53BA
secondary
#C6CB9E
accent
#D355C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82