#5F62BA#5F62BA
#5F62BA is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.7% C 0.135 H 279.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5F62BA |
|---|---|
| RGB | rgb(95, 98, 186) |
| HSL | hsl(238, 40%, 55%) |
| HSV | hsv(238, 49%, 73%) |
| CMYK | cmyk(48.9%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(45.24, 22.89, -46.99) |
| CIE-LCH | lch(45.24, 52.27, 295.98°) |
| OKLab | oklab(53.68% 0.0219 -0.1335) |
| OKLCH | oklch(53.68% 0.135 279.3) |
| XYZ | xyz(17.9472, 14.7125, 48.3390) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 5.25
Warm Blue
#4B57DB
ΔE00 6.25
Cornflower Blue
#5170D7
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F62BA #BAB75F
analogous
#5F8FBA #5F62BA #895FBA
triadic
#5F62BA #BA5F62 #62BA5F
tetradic
#5F62BA #BA5F8F #BAB75F #5FBA89
square
#5F62BA #BA5F8F #BAB75F #5FBA89
split-complementary
#5F62BA #BA895F #8FBA5F
monochromatic
#30326F #42459A #5F62BA #8A8CCC #B5B6DF
Accessibility & contrast
On white
5.33
#5F62BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5F62BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F62BA
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F62BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F62BA | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#3D7585
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5f62ba; /* rgb */ color: rgb(95, 98, 186); /* oklch */ color: oklch(53.7% 0.135 279.3);
Tailwind
colors: {
custom: {
50: '#928ecf',
500: '#5f62ba',
950: '#000000',
},
}SCSS
$custom: #5f62ba; $custom-light: #928ecf; $custom-dark: #000000;
JSON
{
"hex": "#5f62ba",
"rgb": {
"r": 95,
"g": 98,
"b": 186
},
"hsl": {
"h": 238.022,
"s": 39.738,
"l": 55.098
},
"oklch": {
"l": 0.53681,
"c": 0.13532,
"h": 279.3
},
"luminance": 0.14713
}Semantic roles & 50–950 ramp
primary
#5F62BA
secondary
#CDCCA7
accent
#CC58D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82