#5768CF#5768CF
#5768CF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.159 H 273.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5768CF |
|---|---|
| RGB | rgb(87, 104, 207) |
| HSL | hsl(232, 56%, 58%) |
| HSV | hsv(232, 58%, 81%) |
| CMYK | cmyk(58%, 49.8%, 0%, 18.8%) |
| CIE-LAB | lab(47.53, 24.23, -55.45) |
| CIE-LCH | lch(47.53, 60.51, 293.61°) |
| OKLab | oklab(55.69% 0.0086 -0.1585) |
| OKLCH | oklch(55.69% 0.159 273.1) |
| XYZ | xyz(20.1396, 16.4303, 61.1295) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.41
Royal Blue
#4169E1
ΔE00 3.53
Dark Periwinkle
#665FD1
ΔE00 4.57
Warm Blue
#4B57DB
ΔE00 5.67
Azul
#1D5DEC
ΔE00 6.11
Iris
#6258C4
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5768CF #CFBE57
analogous
#57A4CF #5768CF #8257CF
triadic
#5768CF #CF5768 #68CF57
tetradic
#5768CF #CF57A4 #CFBE57 #57CF82
square
#5768CF #CF57A4 #CFBE57 #57CF82
split-complementary
#5768CF #CF8257 #A4CF57
monochromatic
#263485 #3446B5 #5768CF #8793DD #B6BEEA
Accessibility & contrast
On white
4.90
#5768CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5768CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5768CF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5768CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5768CF | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#1C6CCD
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5768cf; /* rgb */ color: rgb(87, 104, 207); /* oklch */ color: oklch(55.7% 0.159 273.1);
Tailwind
colors: {
custom: {
50: '#9092de',
500: '#5768cf',
950: '#000000',
},
}SCSS
$custom: #5768cf; $custom-light: #9092de; $custom-dark: #000000;
JSON
{
"hex": "#5768cf",
"rgb": {
"r": 87,
"g": 104,
"b": 207
},
"hsl": {
"h": 231.5,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.55691,
"c": 0.15877,
"h": 273.1
},
"luminance": 0.16432
}Semantic roles & 50–950 ramp
primary
#5768CF
secondary
#D9D2A9
accent
#CA49DF
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83