#5153B0#5153B0
#5153B0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.145 H 278.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5153B0 |
|---|---|
| RGB | rgb(81, 83, 176) |
| HSL | hsl(239, 38%, 50%) |
| HSV | hsv(239, 54%, 69%) |
| CMYK | cmyk(54%, 52.8%, 0%, 31%) |
| CIE-LAB | lab(39.70, 25.98, -50.07) |
| CIE-LCH | lch(39.70, 56.41, 297.43°) |
| OKLab | oklab(49.04% 0.0219 -0.1431) |
| OKLCH | oklch(49.04% 0.145 278.7) |
| XYZ | xyz(14.3206, 11.0695, 42.4479) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 5.35
Warm Blue
#4B57DB
ΔE00 6.18
Slate Blue
#6A5ACD
ΔE00 6.30
Blueberry
#464196
ΔE00 6.46
Twilight
#4E518B
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5153B0 #B0AE51
analogous
#5182B0 #5153B0 #7E51B0
triadic
#5153B0 #B05153 #53B051
tetradic
#5153B0 #B05182 #B0AE51 #51B07E
square
#5153B0 #B05182 #B0AE51 #51B07E
split-complementary
#5153B0 #B07E51 #82B051
monochromatic
#2A2B5D #3D3F87 #5153B0 #7B7DC3 #A5A6D6
Accessibility & contrast
On white
6.53
#5153B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#5153B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5153B0
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5153B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5153B0 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2061B3
Deuteranopia (green-blind)
#115AAE
Tritanopia (blue-blind)
#266879
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #5153b0; /* rgb */ color: rgb(81, 83, 176); /* oklch */ color: oklch(49.0% 0.145 278.7);
Tailwind
colors: {
custom: {
50: '#8983c8',
500: '#5153b0',
950: '#000000',
},
}SCSS
$custom: #5153b0; $custom-light: #8983c8; $custom-dark: #000000;
JSON
{
"hex": "#5153b0",
"rgb": {
"r": 81,
"g": 83,
"b": 176
},
"hsl": {
"h": 238.737,
"s": 37.549,
"l": 50.392
},
"oklch": {
"l": 0.49042,
"c": 0.14473,
"h": 278.7
},
"luminance": 0.1107
}Semantic roles & 50–950 ramp
primary
#5153B0
secondary
#C4C399
accent
#CB5ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82