#5055D2#5055D2
#5055D2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.189 H 275.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5055D2 |
|---|---|
| RGB | rgb(80, 85, 210) |
| HSL | hsl(238, 59%, 57%) |
| HSV | hsv(238, 62%, 82%) |
| CMYK | cmyk(61.9%, 59.5%, 0%, 17.6%) |
| CIE-LAB | lab(42.54, 35.78, -65.26) |
| CIE-LCH | lch(42.54, 74.43, 298.73°) |
| OKLab | oklab(51.91% 0.0194 -0.1878) |
| OKLCH | oklch(51.91% 0.189 275.9) |
| XYZ | xyz(18.1858, 12.8542, 62.4830) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.47
Iris
#6258C4
ΔE00 3.50
Dark Periwinkle
#665FD1
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.87
Electric Blue
#0652FF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5055D2 #D2CD50
analogous
#5096D2 #5055D2 #8C50D2
triadic
#5055D2 #D25055 #55D250
tetradic
#5055D2 #D25096 #D2CD50 #50D28C
square
#5055D2 #D25096 #D2CD50 #50D28C
split-complementary
#5055D2 #D28C50 #96D250
monochromatic
#222685 #2F34B6 #5055D2 #8184DF #B1B4EB
Accessibility & contrast
On white
5.88
#5055D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5055D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5055D2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5055D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5055D2 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5055d2; /* rgb */ color: rgb(80, 85, 210); /* oklch */ color: oklch(51.9% 0.189 275.9);
Tailwind
colors: {
custom: {
50: '#8e85e1',
500: '#5055d2',
950: '#000000',
},
}SCSS
$custom: #5055d2; $custom-light: #8e85e1; $custom-dark: #000000;
JSON
{
"hex": "#5055d2",
"rgb": {
"r": 80,
"g": 85,
"b": 210
},
"hsl": {
"h": 237.692,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.51907,
"c": 0.18875,
"h": 275.9
},
"luminance": 0.12856
}Semantic roles & 50–950 ramp
primary
#5055D2
secondary
#D9D7A4
accent
#DC46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83