#505DBE#505DBE
#505DBE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.151 H 274.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #505DBE |
|---|---|
| RGB | rgb(80, 93, 190) |
| HSL | hsl(233, 46%, 53%) |
| HSV | hsv(233, 58%, 75%) |
| CMYK | cmyk(57.9%, 51.1%, 0%, 25.5%) |
| CIE-LAB | lab(43.14, 24.09, -52.74) |
| CIE-LCH | lch(43.14, 57.98, 294.55°) |
| OKLab | oklab(51.91% 0.011 -0.1509) |
| OKLCH | oklch(51.91% 0.151 274.2) |
| XYZ | xyz(16.5139, 13.2507, 50.3926) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 4.39
Dark Periwinkle
#665FD1
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 6.23
Royal Blue
#4169E1
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505DBE #BEB150
analogous
#5094BE #505DBE #7A50BE
triadic
#505DBE #BE505D #5DBE50
tetradic
#505DBE #BE5094 #BEB150 #50BE7A
square
#505DBE #BE5094 #BEB150 #50BE7A
split-complementary
#505DBE #BE7A50 #94BE50
monochromatic
#28306C #394498 #505DBE #7D86CF #A9B0DF
Accessibility & contrast
On white
5.75
#505DBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#505DBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505DBE
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505DBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505DBE | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296BC1
Deuteranopia (green-blind)
#1361BC
Tritanopia (blue-blind)
#017384
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #505dbe; /* rgb */ color: rgb(80, 93, 190); /* oklch */ color: oklch(51.9% 0.151 274.2);
Tailwind
colors: {
custom: {
50: '#8a8ad2',
500: '#505dbe',
950: '#000000',
},
}SCSS
$custom: #505dbe; $custom-light: #8a8ad2; $custom-dark: #000000;
JSON
{
"hex": "#505dbe",
"rgb": {
"r": 80,
"g": 93,
"b": 190
},
"hsl": {
"h": 232.909,
"s": 45.833,
"l": 52.941
},
"oklch": {
"l": 0.51906,
"c": 0.15125,
"h": 274.2
},
"luminance": 0.13252
}Semantic roles & 50–950 ramp
primary
#505DBE
secondary
#CDC79D
accent
#C652D5
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83