#5781DF#5781DF
#5781DF is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.8% C 0.150 H 264.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5781DF |
|---|---|
| RGB | rgb(87, 129, 223) |
| HSL | hsl(221, 68%, 61%) |
| HSV | hsv(221, 61%, 87%) |
| CMYK | cmyk(61%, 42.2%, 0%, 12.5%) |
| CIE-LAB | lab(55.13, 14.19, -52.35) |
| CIE-LCH | lch(55.13, 54.24, 285.16°) |
| OKLab | oklab(61.79% -0.0148 -0.1491) |
| OKLCH | oklch(61.79% 0.15 264.3) |
| XYZ | xyz(25.0954, 23.0523, 72.9248) |
| Luminance | 0.2305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.04
Dodger Blue
#3E82FC
ΔE00 3.44
Lightish Blue
#3D7AFD
ΔE00 3.82
Clear Blue
#247AFD
ΔE00 4.42
Azure
#007FFF
ΔE00 5.08
Faded Blue
#658CBB
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781DF #DFB557
analogous
#57C5DF #5781DF #7157DF
triadic
#5781DF #DF5781 #81DF57
tetradic
#5781DF #DF57C5 #DFB557 #57DF71
square
#5781DF #DF57C5 #DFB557 #57DF71
split-complementary
#5781DF #DF7157 #C5DF57
monochromatic
#1E459E #285CD1 #5781DF #8AA8E9 #BECEF3
Accessibility & contrast
On white
3.74
#5781DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#5781DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781DF
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781DF | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#437EDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5781df; /* rgb */ color: rgb(87, 129, 223); /* oklch */ color: oklch(61.8% 0.150 264.3);
Tailwind
colors: {
custom: {
50: '#92a5e9',
500: '#5781df',
950: '#000000',
},
}SCSS
$custom: #5781df; $custom-light: #92a5e9; $custom-dark: #000000;
JSON
{
"hex": "#5781df",
"rgb": {
"r": 87,
"g": 129,
"b": 223
},
"hsl": {
"h": 221.471,
"s": 68,
"l": 60.784
},
"oklch": {
"l": 0.61793,
"c": 0.14987,
"h": 264.3
},
"luminance": 0.23054
}Semantic roles & 50–950 ramp
primary
#5781DF
secondary
#E3D3AF
accent
#9616D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84