#5159C8#5159C8
#5159C8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.170 H 275.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5159C8 |
|---|---|
| RGB | rgb(81, 89, 200) |
| HSL | hsl(236, 52%, 55%) |
| HSV | hsv(236, 60%, 78%) |
| CMYK | cmyk(59.5%, 55.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.86, 30.14, -58.99) |
| CIE-LCH | lch(42.86, 66.24, 297.07°) |
| OKLab | oklab(51.93% 0.0167 -0.1692) |
| OKLCH | oklch(51.93% 0.17 275.6) |
| XYZ | xyz(17.3877, 13.0629, 56.2375) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.60
Iris
#6258C4
ΔE00 3.15
Dark Periwinkle
#665FD1
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 5.04
Azul
#1D5DEC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5159C8 #C8C051
analogous
#5195C8 #5159C8 #8451C8
triadic
#5159C8 #C85159 #59C851
tetradic
#5159C8 #C85195 #C8C051 #51C884
square
#5159C8 #C85195 #C8C051 #51C884
split-complementary
#5159C8 #C88451 #95C851
monochromatic
#262C79 #353CA7 #5159C8 #8085D7 #AEB2E5
Accessibility & contrast
On white
5.81
#5159C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#5159C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5159C8
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5159C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5159C8 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5159c8; /* rgb */ color: rgb(81, 89, 200); /* oklch */ color: oklch(51.9% 0.170 275.6);
Tailwind
colors: {
custom: {
50: '#8d87d9',
500: '#5159c8',
950: '#000000',
},
}SCSS
$custom: #5159c8; $custom-light: #8d87d9; $custom-dark: #000000;
JSON
{
"hex": "#5159c8",
"rgb": {
"r": 81,
"g": 89,
"b": 200
},
"hsl": {
"h": 235.966,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.51928,
"c": 0.17007,
"h": 275.6
},
"luminance": 0.13064
}Semantic roles & 50–950 ramp
primary
#5159C8
secondary
#D3D0A1
accent
#D24CDB
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83