#5153BA#5153BA
#5153BA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.159 H 278.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5153BA |
|---|---|
| RGB | rgb(81, 83, 186) |
| HSL | hsl(239, 43%, 52%) |
| HSV | hsv(239, 56%, 73%) |
| CMYK | cmyk(56.5%, 55.4%, 0%, 27.1%) |
| CIE-LAB | lab(40.38, 29.26, -54.86) |
| CIE-LCH | lch(40.38, 62.17, 298.08°) |
| OKLab | oklab(49.77% 0.0224 -0.1571) |
| OKLCH | oklch(49.77% 0.159 278.1) |
| XYZ | xyz(15.3467, 11.4800, 47.8520) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.45
Warm Blue
#4B57DB
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.37
Dark Periwinkle
#665FD1
ΔE00 5.81
Light Indigo
#6D5ACF
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5153BA #BAB851
analogous
#5188BA #5153BA #8351BA
triadic
#5153BA #BA5153 #53BA51
tetradic
#5153BA #BA5188 #BAB851 #51BA83
square
#5153BA #BA5188 #BAB851 #51BA83
split-complementary
#5153BA #BA8351 #88BA51
monochromatic
#292A68 #3A3C93 #5153BA #7D7ECB #A9AADD
Accessibility & contrast
On white
6.37
#5153BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#5153BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5153BA
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5153BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5153BA | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#186B7E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5153ba; /* rgb */ color: rgb(81, 83, 186); /* oklch */ color: oklch(49.8% 0.159 278.1);
Tailwind
colors: {
custom: {
50: '#8b83cf',
500: '#5153ba',
950: '#000000',
},
}SCSS
$custom: #5153ba; $custom-light: #8b83cf; $custom-dark: #000000;
JSON
{
"hex": "#5153ba",
"rgb": {
"r": 81,
"g": 83,
"b": 186
},
"hsl": {
"h": 238.857,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.49767,
"c": 0.15872,
"h": 278.1
},
"luminance": 0.11481
}Semantic roles & 50–950 ramp
primary
#5153BA
secondary
#CAC99D
accent
#D155D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82