#5B53AF#5B53AF
#5B53AF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.142 H 283.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5B53AF |
|---|---|
| RGB | rgb(91, 83, 175) |
| HSL | hsl(245, 37%, 51%) |
| HSV | hsv(245, 53%, 69%) |
| CMYK | cmyk(48%, 52.6%, 0%, 31.4%) |
| CIE-LAB | lab(40.42, 27.88, -48.28) |
| CIE-LCH | lch(40.42, 55.75, 300.00°) |
| OKLab | oklab(49.76% 0.0341 -0.1375) |
| OKLCH | oklch(49.76% 0.142 283.9) |
| XYZ | xyz(15.1432, 11.5051, 41.9719) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.63
Ocean Blue
#4F42B5
ΔE00 5.38
Slate Blue
#6A5ACD
ΔE00 5.46
Light Indigo
#6D5ACF
ΔE00 5.95
Dark Periwinkle
#665FD1
ΔE00 6.38
Bluey Purple
#6241C7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B53AF #A7AF53
analogous
#5379AF #5B53AF #8953AF
triadic
#5B53AF #AF5B53 #53AF5B
tetradic
#5B53AF #AF5379 #A7AF53 #53AF89
square
#5B53AF #AF5379 #A7AF53 #53AF89
split-complementary
#5B53AF #AF8953 #79AF53
monochromatic
#2F2B5D #453E86 #5B53AF #837DC2 #ABA7D6
Accessibility & contrast
On white
6.36
#5B53AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#5B53AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B53AF
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B53AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B53AF | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#3E6779
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5b53af; /* rgb */ color: rgb(91, 83, 175); /* oklch */ color: oklch(49.8% 0.142 283.9);
Tailwind
colors: {
custom: {
50: '#8f83c7',
500: '#5b53af',
950: '#000000',
},
}SCSS
$custom: #5b53af; $custom-light: #8f83c7; $custom-dark: #000000;
JSON
{
"hex": "#5b53af",
"rgb": {
"r": 91,
"g": 83,
"b": 175
},
"hsl": {
"h": 245.217,
"s": 36.508,
"l": 50.588
},
"oklch": {
"l": 0.49759,
"c": 0.14169,
"h": 283.9
},
"luminance": 0.11506
}Semantic roles & 50–950 ramp
primary
#5B53AF
secondary
#C0C39A
accent
#CD5BC3
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0A13
muted
#7E7C82