#5F53CB#5F53CB
#5F53CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.179 H 282.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5F53CB |
|---|---|
| RGB | rgb(95, 83, 203) |
| HSL | hsl(246, 54%, 56%) |
| HSV | hsv(246, 59%, 80%) |
| CMYK | cmyk(53.2%, 59.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.66, 37.39, -61.00) |
| CIE-LCH | lch(42.66, 71.55, 301.51°) |
| OKLab | oklab(52.11% 0.0396 -0.1748) |
| OKLCH | oklch(52.11% 0.179 282.8) |
| XYZ | xyz(18.5888, 12.9301, 58.0046) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.87
Slate Blue
#6A5ACD
ΔE00 2.69
Light Indigo
#6D5ACF
ΔE00 3.11
Dark Periwinkle
#665FD1
ΔE00 3.84
Warm Blue
#4B57DB
ΔE00 3.91
Bluey Purple
#6241C7
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F53CB #BFCB53
analogous
#5383CB #5F53CB #9B53CB
triadic
#5F53CB #CB5F53 #53CB5F
tetradic
#5F53CB #CB5383 #BFCB53 #53CB9B
square
#5F53CB #CB5383 #BFCB53 #53CB9B
split-complementary
#5F53CB #CB9B53 #83CB53
monochromatic
#2F267E #4034AD #5F53CB #8B82D9 #B6B1E7
Accessibility & contrast
On white
5.86
#5F53CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5F53CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F53CB
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F53CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F53CB | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#316F87
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f53cb; /* rgb */ color: rgb(95, 83, 203); /* oklch */ color: oklch(52.1% 0.179 282.8);
Tailwind
colors: {
custom: {
50: '#9584dc',
500: '#5f53cb',
950: '#000000',
},
}SCSS
$custom: #5f53cb; $custom-light: #9584dc; $custom-dark: #000000;
JSON
{
"hex": "#5f53cb",
"rgb": {
"r": 95,
"g": 83,
"b": 203
},
"hsl": {
"h": 246,
"s": 53.571,
"l": 56.078
},
"oklch": {
"l": 0.5211,
"c": 0.17923,
"h": 282.8
},
"luminance": 0.12931
}Semantic roles & 50–950 ramp
primary
#5F53CB
secondary
#D1D6A4
accent
#DD4BCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83