#5A63C8#5A63C8
#5A63C8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.155 H 276.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5A63C8 |
|---|---|
| RGB | rgb(90, 99, 200) |
| HSL | hsl(235, 50%, 57%) |
| HSV | hsv(235, 55%, 78%) |
| CMYK | cmyk(55%, 50.5%, 0%, 21.6%) |
| CIE-LAB | lab(46.00, 25.64, -53.89) |
| CIE-LCH | lch(46.00, 59.68, 295.44°) |
| OKLab | oklab(54.44% 0.0166 -0.1539) |
| OKLCH | oklch(54.44% 0.155 276.1) |
| XYZ | xyz(19.1003, 15.2662, 56.5726) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.17
Iris
#6258C4
ΔE00 4.32
Warm Blue
#4B57DB
ΔE00 4.68
Slate Blue
#6A5ACD
ΔE00 4.71
Light Indigo
#6D5ACF
ΔE00 5.17
Royal Blue
#4169E1
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A63C8 #C8BF5A
analogous
#5A9AC8 #5A63C8 #885AC8
triadic
#5A63C8 #C85A63 #63C85A
tetradic
#5A63C8 #C85A9A #C8BF5A #5AC888
square
#5A63C8 #C85A9A #C8BF5A #5AC888
split-complementary
#5A63C8 #C8885A #9AC85A
monochromatic
#2A317E #3943AC #5A63C8 #888ED7 #B6BAE7
Accessibility & contrast
On white
5.18
#5A63C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#5A63C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A63C8
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A63C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A63C8 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#1E69C6
Tritanopia (blue-blind)
#217A8C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a63c8; /* rgb */ color: rgb(90, 99, 200); /* oklch */ color: oklch(54.4% 0.155 276.1);
Tailwind
colors: {
custom: {
50: '#918fd9',
500: '#5a63c8',
950: '#000000',
},
}SCSS
$custom: #5a63c8; $custom-light: #918fd9; $custom-dark: #000000;
JSON
{
"hex": "#5a63c8",
"rgb": {
"r": 90,
"g": 99,
"b": 200
},
"hsl": {
"h": 235.091,
"s": 50,
"l": 56.863
},
"oklch": {
"l": 0.54439,
"c": 0.15482,
"h": 276.1
},
"luminance": 0.15267
}Semantic roles & 50–950 ramp
primary
#5A63C8
secondary
#D5D2A8
accent
#CE4EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83