#5A68DF#5A68DF
#5A68DF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.0% C 0.180 H 274.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A68DF |
|---|---|
| RGB | rgb(90, 104, 223) |
| HSL | hsl(234, 68%, 61%) |
| HSV | hsv(234, 60%, 87%) |
| CMYK | cmyk(59.6%, 53.4%, 0%, 12.5%) |
| CIE-LAB | lab(48.76, 30.08, -62.56) |
| CIE-LCH | lch(48.76, 69.42, 295.68°) |
| OKLab | oklab(57% 0.0131 -0.1794) |
| OKLCH | oklch(57% 0.18 274.2) |
| XYZ | xyz(22.4817, 17.4002, 71.9716) |
| Luminance | 0.1740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.54
Cornflower Blue
#5170D7
ΔE00 3.78
Dark Periwinkle
#665FD1
ΔE00 4.37
Warm Blue
#4B57DB
ΔE00 5.59
Bright Blue
#0165FC
ΔE00 5.93
Azul
#1D5DEC
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A68DF #DFD15A
analogous
#5AABDF #5A68DF #8F5ADF
triadic
#5A68DF #DF5A68 #68DF5A
tetradic
#5A68DF #DF5AAB #DFD15A #5ADF8F
square
#5A68DF #DF5AAB #DFD15A #5ADF8F
split-complementary
#5A68DF #DF8F5A #ABDF5A
monochromatic
#1F2DA0 #293BD3 #5A68DF #8D97E9 #C1C6F3
Accessibility & contrast
On white
4.69
#5A68DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#5A68DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A68DF
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A68DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A68DF | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A7AE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5a68df; /* rgb */ color: rgb(90, 104, 223); /* oklch */ color: oklch(57.0% 0.180 274.2);
Tailwind
colors: {
custom: {
50: '#9493ea',
500: '#5a68df',
950: '#000000',
},
}SCSS
$custom: #5a68df; $custom-light: #9493ea; $custom-dark: #000000;
JSON
{
"hex": "#5a68df",
"rgb": {
"r": 90,
"g": 104,
"b": 223
},
"hsl": {
"h": 233.684,
"s": 67.513,
"l": 61.373
},
"oklch": {
"l": 0.56996,
"c": 0.17986,
"h": 274.2
},
"luminance": 0.17402
}Semantic roles & 50–950 ramp
primary
#5A68DF
secondary
#E3DEB2
accent
#BC16CF
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84