#5656AF#5656AF
#5656AF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.138 H 280.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5656AF |
|---|---|
| RGB | rgb(86, 86, 175) |
| HSL | hsl(240, 36%, 51%) |
| HSV | hsv(240, 51%, 69%) |
| CMYK | cmyk(50.9%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(40.78, 24.86, -47.72) |
| CIE-LCH | lch(40.78, 53.81, 297.52°) |
| OKLab | oklab(49.93% 0.0244 -0.136) |
| OKLCH | oklch(49.93% 0.138 280.2) |
| XYZ | xyz(14.9010, 11.7283, 42.0277) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.86
Slate Blue
#6A5ACD
ΔE00 5.78
Dark Periwinkle
#665FD1
ΔE00 6.20
Ocean Blue
#4F42B5
ΔE00 6.26
Twilight
#4E518B
ΔE00 6.34
Light Indigo
#6D5ACF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656AF #AFAF56
analogous
#5682AF #5656AF #8256AF
triadic
#5656AF #AF5656 #56AF56
tetradic
#5656AF #AF5682 #AFAF56 #56AF82
square
#5656AF #AF5682 #AFAF56 #56AF82
split-complementary
#5656AF #AF8256 #82AF56
monochromatic
#2D2D5E #404088 #5656AF #8080C3 #A9A9D6
Accessibility & contrast
On white
6.28
#5656AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#5656AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656AF
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656AF | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#33697A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5656af; /* rgb */ color: rgb(86, 86, 175); /* oklch */ color: oklch(49.9% 0.138 280.2);
Tailwind
colors: {
custom: {
50: '#8c85c7',
500: '#5656af',
950: '#000000',
},
}SCSS
$custom: #5656af; $custom-light: #8c85c7; $custom-dark: #000000;
JSON
{
"hex": "#5656af",
"rgb": {
"r": 86,
"g": 86,
"b": 175
},
"hsl": {
"h": 240,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.4993,
"c": 0.13817,
"h": 280.2
},
"luminance": 0.11729
}Semantic roles & 50–950 ramp
primary
#5656AF
secondary
#C4C49D
accent
#CC5CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82