#505FC2#505FC2
#505FC2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.154 H 273.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #505FC2 |
|---|---|
| RGB | rgb(80, 95, 194) |
| HSL | hsl(232, 48%, 54%) |
| HSV | hsv(232, 59%, 76%) |
| CMYK | cmyk(58.8%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(43.92, 24.18, -53.80) |
| CIE-LCH | lch(43.92, 58.98, 294.20°) |
| OKLab | oklab(52.58% 0.0092 -0.1539) |
| OKLCH | oklch(52.58% 0.154 273.4) |
| XYZ | xyz(17.1349, 13.7836, 52.7860) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.24
Iris
#6258C4
ΔE00 4.56
Dark Periwinkle
#665FD1
ΔE00 4.64
Slate Blue
#6A5ACD
ΔE00 5.69
Royal Blue
#4169E1
ΔE00 5.70
Azul
#1D5DEC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FC2 #C2B350
analogous
#5098C2 #505FC2 #7A50C2
triadic
#505FC2 #C2505F #5FC250
tetradic
#505FC2 #C25098 #C2B350 #50C27A
square
#505FC2 #C25098 #C2B350 #50C27A
split-complementary
#505FC2 #C27A50 #98C250
monochromatic
#273170 #37459E #505FC2 #7D88D2 #ABB2E2
Accessibility & contrast
On white
5.59
#505FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#505FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FC2
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FC2 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#0F63C0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #505fc2; /* rgb */ color: rgb(80, 95, 194); /* oklch */ color: oklch(52.6% 0.154 273.4);
Tailwind
colors: {
custom: {
50: '#8b8cd5',
500: '#505fc2',
950: '#000000',
},
}SCSS
$custom: #505fc2; $custom-light: #8b8cd5; $custom-dark: #000000;
JSON
{
"hex": "#505fc2",
"rgb": {
"r": 80,
"g": 95,
"b": 194
},
"hsl": {
"h": 232.105,
"s": 48.305,
"l": 53.725
},
"oklch": {
"l": 0.5258,
"c": 0.15423,
"h": 273.4
},
"luminance": 0.13785
}Semantic roles & 50–950 ramp
primary
#505FC2
secondary
#CFC99F
accent
#C650D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83