#5756AF#5756AF
#5756AF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.138 H 280.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5756AF |
|---|---|
| RGB | rgb(87, 86, 175) |
| HSL | hsl(241, 36%, 51%) |
| HSV | hsv(241, 51%, 69%) |
| CMYK | cmyk(50.3%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(40.86, 25.09, -47.59) |
| CIE-LCH | lch(40.86, 53.80, 297.79°) |
| OKLab | oklab(50.01% 0.0256 -0.1356) |
| OKLCH | oklch(50.01% 0.138 280.7) |
| XYZ | xyz(14.9938, 11.7761, 42.0321) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 5.68
Dark Periwinkle
#665FD1
ΔE00 6.15
Light Indigo
#6D5ACF
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 6.25
Twilight
#4E518B
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756AF #AEAF56
analogous
#5681AF #5756AF #8356AF
triadic
#5756AF #AF5756 #56AF57
tetradic
#5756AF #AF5681 #AEAF56 #56AF83
square
#5756AF #AF5681 #AEAF56 #56AF83
split-complementary
#5756AF #AF8356 #81AF56
monochromatic
#2D2D5E #414088 #5756AF #8080C3 #AAA9D6
Accessibility & contrast
On white
6.26
#5756AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#5756AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756AF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756AF | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#35697A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5756af; /* rgb */ color: rgb(87, 86, 175); /* oklch */ color: oklch(50.0% 0.138 280.7);
Tailwind
colors: {
custom: {
50: '#8c85c7',
500: '#5756af',
950: '#000000',
},
}SCSS
$custom: #5756af; $custom-light: #8c85c7; $custom-dark: #000000;
JSON
{
"hex": "#5756af",
"rgb": {
"r": 87,
"g": 86,
"b": 175
},
"hsl": {
"h": 240.674,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.50008,
"c": 0.13799,
"h": 280.7
},
"luminance": 0.11777
}Semantic roles & 50–950 ramp
primary
#5756AF
secondary
#C4C49D
accent
#CC5CCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82