#505DC2#505DC2
#505DC2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.157 H 274.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #505DC2 |
|---|---|
| RGB | rgb(80, 93, 194) |
| HSL | hsl(233, 48%, 54%) |
| HSV | hsv(233, 59%, 76%) |
| CMYK | cmyk(58.8%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(43.40, 25.44, -54.64) |
| CIE-LCH | lch(43.40, 60.27, 294.96°) |
| OKLab | oklab(52.19% 0.0113 -0.1564) |
| OKLCH | oklch(52.19% 0.157 274.1) |
| XYZ | xyz(16.9570, 13.4279, 52.7267) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.87
Iris
#6258C4
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 5.35
Light Indigo
#6D5ACF
ΔE00 5.95
Azul
#1D5DEC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505DC2 #C2B550
analogous
#5096C2 #505DC2 #7C50C2
triadic
#505DC2 #C2505D #5DC250
tetradic
#505DC2 #C25096 #C2B550 #50C27C
square
#505DC2 #C25096 #C2B550 #50C27C
split-complementary
#505DC2 #C27C50 #96C250
monochromatic
#273070 #37439E #505DC2 #7D87D2 #ABB1E2
Accessibility & contrast
On white
5.70
#505DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#505DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505DC2
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505DC2 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#0262C0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505dc2; /* rgb */ color: rgb(80, 93, 194); /* oklch */ color: oklch(52.2% 0.157 274.1);
Tailwind
colors: {
custom: {
50: '#8b8ad5',
500: '#505dc2',
950: '#000000',
},
}SCSS
$custom: #505dc2; $custom-light: #8b8ad5; $custom-dark: #000000;
JSON
{
"hex": "#505dc2",
"rgb": {
"r": 80,
"g": 93,
"b": 194
},
"hsl": {
"h": 233.158,
"s": 48.305,
"l": 53.725
},
"oklch": {
"l": 0.52188,
"c": 0.15685,
"h": 274.1
},
"luminance": 0.13429
}Semantic roles & 50–950 ramp
primary
#505DC2
secondary
#CFCA9F
accent
#C850D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83