#5F53DB#5F53DB
#5F53DB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.4% C 0.200 H 281.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5F53DB |
|---|---|
| RGB | rgb(95, 83, 219) |
| HSL | hsl(245, 65%, 59%) |
| HSV | hsv(245, 62%, 86%) |
| CMYK | cmyk(56.6%, 62.1%, 0%, 14.1%) |
| CIE-LAB | lab(43.85, 42.35, -68.25) |
| CIE-LCH | lch(43.85, 80.32, 301.82°) |
| OKLab | oklab(53.36% 0.0388 -0.1961) |
| OKLCH | oklch(53.36% 0.2 281.2) |
| XYZ | xyz(20.5948, 13.7325, 68.5695) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.18
Warm Blue
#4B57DB
ΔE00 3.27
Light Indigo
#6D5ACF
ΔE00 3.34
Iris
#6258C4
ΔE00 3.53
Dark Periwinkle
#665FD1
ΔE00 3.83
Purpleish Blue
#6140EF
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F53DB #CFDB53
analogous
#538BDB #5F53DB #A353DB
triadic
#5F53DB #DB5F53 #53DB5F
tetradic
#5F53DB #DB538B #CFDB53 #53DBA3
square
#5F53DB #DB538B #CFDB53 #53DBA3
split-complementary
#5F53DB #DBA353 #8BDB53
monochromatic
#291F95 #382AC7 #5F53DB #8E86E6 #BDB8F0
Accessibility & contrast
On white
5.60
#5F53DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#5F53DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F53DB
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F53DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F53DB | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#1A748F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f53db; /* rgb */ color: rgb(95, 83, 219); /* oklch */ color: oklch(53.4% 0.200 281.2);
Tailwind
colors: {
custom: {
50: '#9884e7',
500: '#5f53db',
950: '#000000',
},
}SCSS
$custom: #5f53db; $custom-light: #9884e7; $custom-dark: #000000;
JSON
{
"hex": "#5f53db",
"rgb": {
"r": 95,
"g": 83,
"b": 219
},
"hsl": {
"h": 245.294,
"s": 65.385,
"l": 59.216
},
"oklch": {
"l": 0.53355,
"c": 0.19991,
"h": 281.2
},
"luminance": 0.13734
}Semantic roles & 50–950 ramp
primary
#5F53DB
secondary
#DBDFAA
accent
#E83FD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84