#5A68BC#5A68BC
#5A68BC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.7% C 0.131 H 274.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5A68BC |
|---|---|
| RGB | rgb(90, 104, 188) |
| HSL | hsl(231, 42%, 55%) |
| HSV | hsv(231, 52%, 74%) |
| CMYK | cmyk(52.1%, 44.7%, 0%, 26.3%) |
| CIE-LAB | lab(46.58, 18.65, -46.02) |
| CIE-LCH | lch(46.58, 49.66, 292.06°) |
| OKLab | oklab(54.65% 0.0095 -0.1308) |
| OKLCH | oklch(54.65% 0.131 274.1) |
| XYZ | xyz(18.2410, 15.7040, 49.6372) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.09
Dark Periwinkle
#665FD1
ΔE00 5.42
French Blue
#436BAD
ΔE00 5.75
Royal Blue
#4169E1
ΔE00 5.79
Iris
#6258C4
ΔE00 6.30
Slate Blue
#6A5ACD
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A68BC #BCAE5A
analogous
#5A99BC #5A68BC #7D5ABC
triadic
#5A68BC #BC5A68 #68BC5A
tetradic
#5A68BC #BC5A99 #BCAE5A #5ABC7D
square
#5A68BC #BC5A99 #BCAE5A #5ABC7D
split-complementary
#5A68BC #BC7D5A #99BC5A
monochromatic
#2D366F #3F4C9A #5A68BC #8690CE #B1B8DF
Accessibility & contrast
On white
5.07
#5A68BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5A68BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A68BC
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A68BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A68BC | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#3A6BBA
Tritanopia (blue-blind)
#2E7A89
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a68bc; /* rgb */ color: rgb(90, 104, 188); /* oklch */ color: oklch(54.7% 0.131 274.1);
Tailwind
colors: {
custom: {
50: '#8f92d0',
500: '#5a68bc',
950: '#000000',
},
}SCSS
$custom: #5a68bc; $custom-light: #8f92d0; $custom-dark: #000000;
JSON
{
"hex": "#5a68bc",
"rgb": {
"r": 90,
"g": 104,
"b": 188
},
"hsl": {
"h": 231.429,
"s": 42.241,
"l": 54.51
},
"oklch": {
"l": 0.54651,
"c": 0.13111,
"h": 274.1
},
"luminance": 0.15705
}Semantic roles & 50–950 ramp
primary
#5A68BC
secondary
#CEC8A4
accent
#C056D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0D14
muted
#7E7D82