#5A68BB#5A68BB
#5A68BB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.6% C 0.130 H 274.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5A68BB |
|---|---|
| RGB | rgb(90, 104, 187) |
| HSL | hsl(231, 42%, 54%) |
| HSV | hsv(231, 52%, 73%) |
| CMYK | cmyk(51.9%, 44.4%, 0%, 26.7%) |
| CIE-LAB | lab(46.53, 18.33, -45.53) |
| CIE-LCH | lch(46.53, 49.09, 291.93°) |
| OKLab | oklab(54.59% 0.0093 -0.1293) |
| OKLCH | oklch(54.59% 0.13 274.1) |
| XYZ | xyz(18.1335, 15.6610, 49.0714) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.19
Dark Periwinkle
#665FD1
ΔE00 5.52
French Blue
#436BAD
ΔE00 5.70
Royal Blue
#4169E1
ΔE00 5.91
Iris
#6258C4
ΔE00 6.35
Dusky Blue
#475F94
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A68BB #BBAD5A
analogous
#5A99BB #5A68BB #7D5ABB
triadic
#5A68BB #BB5A68 #68BB5A
tetradic
#5A68BB #BB5A99 #BBAD5A #5ABB7D
square
#5A68BB #BB5A99 #BBAD5A #5ABB7D
split-complementary
#5A68BB #BB7D5A #99BB5A
monochromatic
#2D366D #3F4C99 #5A68BB #8590CD #B1B7DF
Accessibility & contrast
On white
5.08
#5A68BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5A68BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A68BB
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A68BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A68BB | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#2F7A88
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a68bb; /* rgb */ color: rgb(90, 104, 187); /* oklch */ color: oklch(54.6% 0.130 274.1);
Tailwind
colors: {
custom: {
50: '#8f92d0',
500: '#5a68bb',
950: '#000000',
},
}SCSS
$custom: #5a68bb; $custom-light: #8f92d0; $custom-dark: #000000;
JSON
{
"hex": "#5a68bb",
"rgb": {
"r": 90,
"g": 104,
"b": 187
},
"hsl": {
"h": 231.34,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.54589,
"c": 0.12967,
"h": 274.1
},
"luminance": 0.15662
}Semantic roles & 50–950 ramp
primary
#5A68BB
secondary
#CDC7A4
accent
#C056D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0D14
muted
#7E7D82