#5153BB#5153BB
#5153BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.160 H 278.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5153BB |
|---|---|
| RGB | rgb(81, 83, 187) |
| HSL | hsl(239, 44%, 53%) |
| HSV | hsv(239, 57%, 73%) |
| CMYK | cmyk(56.7%, 55.6%, 0%, 26.7%) |
| CIE-LAB | lab(40.45, 29.59, -55.33) |
| CIE-LCH | lch(40.45, 62.74, 298.14°) |
| OKLab | oklab(49.84% 0.0224 -0.1585) |
| OKLCH | oklch(49.84% 0.16 278) |
| XYZ | xyz(15.4534, 11.5226, 48.4138) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.38
Warm Blue
#4B57DB
ΔE00 4.59
Ocean Blue
#4F42B5
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.29
Dark Periwinkle
#665FD1
ΔE00 5.73
Light Indigo
#6D5ACF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5153BB #BBB951
analogous
#5188BB #5153BB #8451BB
triadic
#5153BB #BB5153 #53BB51
tetradic
#5153BB #BB5188 #BBB951 #51BB84
square
#5153BB #BB5188 #BBB951 #51BB84
split-complementary
#5153BB #BB8451 #88BB51
monochromatic
#292A69 #3A3C95 #5153BB #7D7ECC #A9AADD
Accessibility & contrast
On white
6.35
#5153BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#5153BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5153BB
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5153BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5153BB | 1.00 | 6.35 | 3.30 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#166B7F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5153bb; /* rgb */ color: rgb(81, 83, 187); /* oklch */ color: oklch(49.8% 0.160 278.0);
Tailwind
colors: {
custom: {
50: '#8b83d0',
500: '#5153bb',
950: '#000000',
},
}SCSS
$custom: #5153bb; $custom-light: #8b83d0; $custom-dark: #000000;
JSON
{
"hex": "#5153bb",
"rgb": {
"r": 81,
"g": 83,
"b": 187
},
"hsl": {
"h": 238.868,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.49841,
"c": 0.1601,
"h": 278
},
"luminance": 0.11524
}Semantic roles & 50–950 ramp
primary
#5153BB
secondary
#CBCA9D
accent
#D154D4
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82