#5153C8#5153C8
#5153C8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.178 H 277.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5153C8 |
|---|---|
| RGB | rgb(81, 83, 200) |
| HSL | hsl(239, 52%, 55%) |
| HSV | hsv(239, 60%, 78%) |
| CMYK | cmyk(59.5%, 58.5%, 0%, 21.6%) |
| CIE-LAB | lab(41.38, 33.87, -61.38) |
| CIE-LCH | lch(41.38, 70.11, 298.89°) |
| OKLab | oklab(50.83% 0.0225 -0.1763) |
| OKLCH | oklch(50.83% 0.178 277.3) |
| XYZ | xyz(16.9086, 12.1047, 56.0778) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.92
Iris
#6258C4
ΔE00 3.10
Slate Blue
#6A5ACD
ΔE00 4.55
Dark Periwinkle
#665FD1
ΔE00 4.89
Light Indigo
#6D5ACF
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5153C8 #C8C651
analogous
#518EC8 #5153C8 #8B51C8
triadic
#5153C8 #C85153 #53C851
tetradic
#5153C8 #C8518E #C8C651 #51C88B
square
#5153C8 #C8518E #C8C651 #51C88B
split-complementary
#5153C8 #C88B51 #8EC851
monochromatic
#262779 #3537A7 #5153C8 #8081D7 #AEAFE5
Accessibility & contrast
On white
6.14
#5153C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#5153C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5153C8
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5153C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5153C8 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5153c8; /* rgb */ color: rgb(81, 83, 200); /* oklch */ color: oklch(50.8% 0.178 277.3);
Tailwind
colors: {
custom: {
50: '#8d83da',
500: '#5153c8',
950: '#000000',
},
}SCSS
$custom: #5153c8; $custom-light: #8d83da; $custom-dark: #000000;
JSON
{
"hex": "#5153c8",
"rgb": {
"r": 81,
"g": 83,
"b": 200
},
"hsl": {
"h": 238.992,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.50831,
"c": 0.17776,
"h": 277.3
},
"luminance": 0.12106
}Semantic roles & 50–950 ramp
primary
#5153C8
secondary
#D3D3A1
accent
#D94CDB
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83