#5A68CD#5A68CD
#5A68CD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.7% C 0.155 H 274.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5A68CD |
|---|---|
| RGB | rgb(90, 104, 205) |
| HSL | hsl(233, 53%, 58%) |
| HSV | hsv(233, 56%, 80%) |
| CMYK | cmyk(56.1%, 49.3%, 0%, 19.6%) |
| CIE-LAB | lab(47.60, 24.16, -54.19) |
| CIE-LCH | lch(47.60, 59.33, 294.03°) |
| OKLab | oklab(55.75% 0.0117 -0.1548) |
| OKLCH | oklch(55.75% 0.155 274.3) |
| XYZ | xyz(20.1826, 16.4806, 59.8633) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.77
Royal Blue
#4169E1
ΔE00 4.10
Dark Periwinkle
#665FD1
ΔE00 4.23
Warm Blue
#4B57DB
ΔE00 5.79
Iris
#6258C4
ΔE00 6.06
Slate Blue
#6A5ACD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A68CD #CDBF5A
analogous
#5AA1CD #5A68CD #865ACD
triadic
#5A68CD #CD5A68 #68CD5A
tetradic
#5A68CD #CD5AA1 #CDBF5A #5ACD86
square
#5A68CD #CD5AA1 #CDBF5A #5ACD86
split-complementary
#5A68CD #CD865A #A1CD5A
monochromatic
#283384 #3646B3 #5A68CD #8993DB #B8BEE9
Accessibility & contrast
On white
4.89
#5A68CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5A68CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A68CD
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A68CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A68CD | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#246CCB
Tritanopia (blue-blind)
#177F91
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5a68cd; /* rgb */ color: rgb(90, 104, 205); /* oklch */ color: oklch(55.7% 0.155 274.3);
Tailwind
colors: {
custom: {
50: '#9192dd',
500: '#5a68cd',
950: '#000000',
},
}SCSS
$custom: #5a68cd; $custom-light: #9192dd; $custom-dark: #000000;
JSON
{
"hex": "#5a68cd",
"rgb": {
"r": 90,
"g": 104,
"b": 205
},
"hsl": {
"h": 232.696,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.55749,
"c": 0.1552,
"h": 274.3
},
"luminance": 0.16482
}Semantic roles & 50–950 ramp
primary
#5A68CD
secondary
#D8D3AA
accent
#CB4BDD
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83