#565AB5#565AB5
#565AB5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.141 H 278.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #565AB5 |
|---|---|
| RGB | rgb(86, 90, 181) |
| HSL | hsl(237, 39%, 52%) |
| HSV | hsv(237, 52%, 71%) |
| CMYK | cmyk(52.5%, 50.3%, 0%, 29%) |
| CIE-LAB | lab(42.19, 24.27, -48.98) |
| CIE-LCH | lch(42.19, 54.66, 296.36°) |
| OKLab | oklab(51.12% 0.0203 -0.1397) |
| OKLCH | oklch(51.12% 0.141 278.3) |
| XYZ | xyz(15.8318, 12.6260, 45.3099) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.44
Dark Periwinkle
#665FD1
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 5.53
Light Indigo
#6D5ACF
ΔE00 5.82
Dusky Blue
#475F94
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#565AB5 #B5B156
analogous
#5689B5 #565AB5 #8256B5
triadic
#565AB5 #B5565A #5AB556
tetradic
#565AB5 #B55689 #B5B156 #56B582
square
#565AB5 #B55689 #B5B156 #56B582
split-complementary
#565AB5 #B58256 #89B556
monochromatic
#2C2E65 #3F428F #565AB5 #8184C8 #ABADDA
Accessibility & contrast
On white
5.96
#565AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#565AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #565AB5
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##565AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##565AB5 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E67B8
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#2D6E7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #565ab5; /* rgb */ color: rgb(86, 90, 181); /* oklch */ color: oklch(51.1% 0.141 278.3);
Tailwind
colors: {
custom: {
50: '#8c88cc',
500: '#565ab5',
950: '#000000',
},
}SCSS
$custom: #565ab5; $custom-light: #8c88cc; $custom-dark: #000000;
JSON
{
"hex": "#565ab5",
"rgb": {
"r": 86,
"g": 90,
"b": 181
},
"hsl": {
"h": 237.474,
"s": 39.095,
"l": 52.353
},
"oklch": {
"l": 0.51116,
"c": 0.14113,
"h": 278.3
},
"luminance": 0.12627
}Semantic roles & 50–950 ramp
primary
#565AB5
secondary
#C8C69F
accent
#CA59CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82