#5A62BF#5A62BF
#5A62BF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.6% C 0.143 H 276.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A62BF |
|---|---|
| RGB | rgb(90, 98, 191) |
| HSL | hsl(235, 44%, 55%) |
| HSV | hsv(235, 53%, 75%) |
| CMYK | cmyk(52.9%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(45.18, 23.35, -50.01) |
| CIE-LCH | lch(45.18, 55.19, 295.03°) |
| OKLab | oklab(53.64% 0.0168 -0.1425) |
| OKLCH | oklch(53.64% 0.144 276.7) |
| XYZ | xyz(17.9851, 14.6695, 51.1639) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.84
Iris
#6258C4
ΔE00 4.14
Slate Blue
#6A5ACD
ΔE00 4.97
Warm Blue
#4B57DB
ΔE00 5.33
Light Indigo
#6D5ACF
ΔE00 5.48
Royal Blue
#4169E1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A62BF #BFB75A
analogous
#5A94BF #5A62BF #855ABF
triadic
#5A62BF #BF5A62 #62BF5A
tetradic
#5A62BF #BF5A94 #BFB75A #5ABF85
square
#5A62BF #BF5A94 #BFB75A #5ABF85
split-complementary
#5A62BF #BF855A #94BF5A
monochromatic
#2C3272 #3D459E #5A62BF #868CD0 #B2B6E1
Accessibility & contrast
On white
5.34
#5A62BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#5A62BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A62BF
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A62BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A62BF | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#2D7687
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5a62bf; /* rgb */ color: rgb(90, 98, 191); /* oklch */ color: oklch(53.6% 0.143 276.7);
Tailwind
colors: {
custom: {
50: '#908ed3',
500: '#5a62bf',
950: '#000000',
},
}SCSS
$custom: #5a62bf; $custom-light: #908ed3; $custom-dark: #000000;
JSON
{
"hex": "#5a62bf",
"rgb": {
"r": 90,
"g": 98,
"b": 191
},
"hsl": {
"h": 235.248,
"s": 44.105,
"l": 55.098
},
"oklch": {
"l": 0.53641,
"c": 0.1435,
"h": 276.7
},
"luminance": 0.14671
}Semantic roles & 50–950 ramp
primary
#5A62BF
secondary
#D0CCA5
accent
#CA54D4
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83