#5153AB#5153AB
#5153AB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.138 H 279.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5153AB |
|---|---|
| RGB | rgb(81, 83, 171) |
| HSL | hsl(239, 36%, 49%) |
| HSV | hsv(239, 53%, 67%) |
| CMYK | cmyk(52.6%, 51.5%, 0%, 32.9%) |
| CIE-LAB | lab(39.37, 24.35, -47.64) |
| CIE-LCH | lch(39.37, 53.51, 297.08°) |
| OKLab | oklab(48.69% 0.0215 -0.1359) |
| OKLCH | oklch(48.69% 0.138 279) |
| XYZ | xyz(13.8350, 10.8753, 39.8903) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 5.64
Twilight
#4E518B
ΔE00 5.70
Blueberry
#464196
ΔE00 6.10
Dusky Blue
#475F94
ΔE00 6.82
Slate Blue
#6A5ACD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5153AB #ABA951
analogous
#5180AB #5153AB #7C51AB
triadic
#5153AB #AB5153 #53AB51
tetradic
#5153AB #AB5180 #ABA951 #51AB7C
square
#5153AB #AB5180 #ABA951 #51AB7C
split-complementary
#5153AB #AB7C51 #80AB51
monochromatic
#2A2B58 #3D3F81 #5153AB #797BC0 #A3A4D3
Accessibility & contrast
On white
6.61
#5153AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#5153AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5153AB
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5153AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5153AB | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#1C59A9
Tritanopia (blue-blind)
#2B6677
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5153ab; /* rgb */ color: rgb(81, 83, 171); /* oklch */ color: oklch(48.7% 0.138 279.0);
Tailwind
colors: {
custom: {
50: '#8983c4',
500: '#5153ab',
950: '#000000',
},
}SCSS
$custom: #5153ab; $custom-light: #8983c4; $custom-dark: #000000;
JSON
{
"hex": "#5153ab",
"rgb": {
"r": 81,
"g": 83,
"b": 171
},
"hsl": {
"h": 238.667,
"s": 35.714,
"l": 49.412
},
"oklch": {
"l": 0.48691,
"c": 0.13762,
"h": 279
},
"luminance": 0.10876
}Semantic roles & 50–950 ramp
primary
#5153AB
secondary
#C1C097
accent
#C95CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82