#5E61BA#5E61BA
#5E61BA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.137 H 279.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5E61BA |
|---|---|
| RGB | rgb(94, 97, 186) |
| HSL | hsl(238, 40%, 55%) |
| HSV | hsv(238, 49%, 73%) |
| CMYK | cmyk(49.5%, 47.8%, 0%, 27.1%) |
| CIE-LAB | lab(44.90, 23.28, -47.53) |
| CIE-LCH | lch(44.90, 52.92, 296.10°) |
| OKLab | oklab(53.41% 0.022 -0.1351) |
| OKLCH | oklch(53.41% 0.137 279.2) |
| XYZ | xyz(17.7510, 14.4733, 48.3031) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.71
Dark Periwinkle
#665FD1
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.65
Light Indigo
#6D5ACF
ΔE00 5.16
Warm Blue
#4B57DB
ΔE00 6.02
Dusky Blue
#475F94
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E61BA #BAB75E
analogous
#5E8FBA #5E61BA #895EBA
triadic
#5E61BA #BA5E61 #61BA5E
tetradic
#5E61BA #BA5E8F #BAB75E #5EBA89
square
#5E61BA #BA5E8F #BAB75E #5EBA89
split-complementary
#5E61BA #BA895E #8FBA5E
monochromatic
#2F316E #424499 #5E61BA #898BCC #B4B5DF
Accessibility & contrast
On white
5.39
#5E61BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5E61BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E61BA
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E61BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E61BA | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#3B7484
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5e61ba; /* rgb */ color: rgb(94, 97, 186); /* oklch */ color: oklch(53.4% 0.137 279.2);
Tailwind
colors: {
custom: {
50: '#918dcf',
500: '#5e61ba',
950: '#000000',
},
}SCSS
$custom: #5e61ba; $custom-light: #918dcf; $custom-dark: #000000;
JSON
{
"hex": "#5e61ba",
"rgb": {
"r": 94,
"g": 97,
"b": 186
},
"hsl": {
"h": 238.043,
"s": 40,
"l": 54.902
},
"oklch": {
"l": 0.5341,
"c": 0.13691,
"h": 279.2
},
"luminance": 0.14474
}Semantic roles & 50–950 ramp
primary
#5E61BA
secondary
#CDCCA7
accent
#CC58D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82