#5A68DC#5A68DC
#5A68DC is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.8% C 0.176 H 274.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A68DC |
|---|---|
| RGB | rgb(90, 104, 220) |
| HSL | hsl(234, 65%, 61%) |
| HSV | hsv(234, 59%, 86%) |
| CMYK | cmyk(59.1%, 52.7%, 0%, 13.7%) |
| CIE-LAB | lab(48.56, 29.09, -61.19) |
| CIE-LCH | lch(48.56, 67.75, 295.43°) |
| OKLab | oklab(56.78% 0.0129 -0.1753) |
| OKLCH | oklch(56.78% 0.176 274.2) |
| XYZ | xyz(22.0808, 17.2399, 69.8603) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.52
Cornflower Blue
#5170D7
ΔE00 3.68
Dark Periwinkle
#665FD1
ΔE00 4.25
Warm Blue
#4B57DB
ΔE00 5.54
Azul
#1D5DEC
ΔE00 5.99
Bright Blue
#0165FC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A68DC #DCCE5A
analogous
#5AA9DC #5A68DC #8D5ADC
triadic
#5A68DC #DC5A68 #68DC5A
tetradic
#5A68DC #DC5AA9 #DCCE5A #5ADC8D
square
#5A68DC #DC5AA9 #DCCE5A #5ADC8D
split-complementary
#5A68DC #DC8D5A #A9DC5A
monochromatic
#212E9B #2C3DCD #5A68DC #8C96E7 #BFC4F1
Accessibility & contrast
On white
4.72
#5A68DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#5A68DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A68DC
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A68DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A68DC | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2079E0
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a68dc; /* rgb */ color: rgb(90, 104, 220); /* oklch */ color: oklch(56.8% 0.176 274.2);
Tailwind
colors: {
custom: {
50: '#9493e8',
500: '#5a68dc',
950: '#000000',
},
}SCSS
$custom: #5a68dc; $custom-light: #9493e8; $custom-dark: #000000;
JSON
{
"hex": "#5a68dc",
"rgb": {
"r": 90,
"g": 104,
"b": 220
},
"hsl": {
"h": 233.538,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.56782,
"c": 0.17581,
"h": 274.2
},
"luminance": 0.17242
}Semantic roles & 50–950 ramp
primary
#5A68DC
secondary
#E2DCB0
accent
#B919CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84