#5A55BE#5A55BE
#5A55BE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.160 H 281.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5A55BE |
|---|---|
| RGB | rgb(90, 85, 190) |
| HSL | hsl(243, 45%, 54%) |
| HSV | hsv(243, 55%, 75%) |
| CMYK | cmyk(52.6%, 55.3%, 0%, 25.5%) |
| CIE-LAB | lab(41.83, 31.11, -54.82) |
| CIE-LCH | lch(41.83, 63.03, 299.58°) |
| OKLab | oklab(51.11% 0.0312 -0.1568) |
| OKLCH | oklch(51.11% 0.16 281.3) |
| XYZ | xyz(16.7564, 12.3874, 50.2133) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.79
Slate Blue
#6A5ACD
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 4.32
Dark Periwinkle
#665FD1
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 4.55
Ocean Blue
#4F42B5
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A55BE #B9BE55
analogous
#5585BE #5A55BE #8F55BE
triadic
#5A55BE #BE5A55 #55BE5A
tetradic
#5A55BE #BE5585 #B9BE55 #55BE8F
square
#5A55BE #BE5585 #B9BE55 #55BE8F
split-complementary
#5A55BE #BE8F55 #85BE55
monochromatic
#2D2A6E #403B9B #5A55BE #8581CF #B0AEE0
Accessibility & contrast
On white
6.04
#5A55BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5A55BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A55BE
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A55BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A55BE | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1166C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#306D81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5a55be; /* rgb */ color: rgb(90, 85, 190); /* oklch */ color: oklch(51.1% 0.160 281.3);
Tailwind
colors: {
custom: {
50: '#9085d2',
500: '#5a55be',
950: '#000000',
},
}SCSS
$custom: #5a55be; $custom-light: #9085d2; $custom-dark: #000000;
JSON
{
"hex": "#5a55be",
"rgb": {
"r": 90,
"g": 85,
"b": 190
},
"hsl": {
"h": 242.857,
"s": 44.681,
"l": 53.922
},
"oklch": {
"l": 0.51105,
"c": 0.15985,
"h": 281.3
},
"luminance": 0.12388
}Semantic roles & 50–950 ramp
primary
#5A55BE
secondary
#CCCEA1
accent
#D453CE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83