#505ECF#505ECF
#505ECF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.173 H 273.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #505ECF |
|---|---|
| RGB | rgb(80, 94, 207) |
| HSL | hsl(233, 57%, 56%) |
| HSV | hsv(233, 61%, 81%) |
| CMYK | cmyk(61.4%, 54.6%, 0%, 18.8%) |
| CIE-LAB | lab(44.54, 29.19, -60.30) |
| CIE-LCH | lch(44.54, 66.99, 295.83°) |
| OKLab | oklab(53.32% 0.0111 -0.1731) |
| OKLCH | oklch(53.32% 0.173 273.7) |
| XYZ | xyz(18.5697, 14.2144, 60.7845) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.66
Dark Periwinkle
#665FD1
ΔE00 3.76
Iris
#6258C4
ΔE00 4.30
Azul
#1D5DEC
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 4.97
Royal Blue
#4169E1
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505ECF #CFC150
analogous
#509ECF #505ECF #8250CF
triadic
#505ECF #CF505E #5ECF50
tetradic
#505ECF #CF509E #CFC150 #50CF82
square
#505ECF #CF509E #CFC150 #50CF82
split-complementary
#505ECF #CF8250 #9ECF50
monochromatic
#232E81 #313FB1 #505ECF #808ADC #B0B6E9
Accessibility & contrast
On white
5.46
#505ECF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#505ECF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505ECF
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505ECF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505ECF | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#076FD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #505ecf; /* rgb */ color: rgb(80, 94, 207); /* oklch */ color: oklch(53.3% 0.173 273.7);
Tailwind
colors: {
custom: {
50: '#8d8bde',
500: '#505ecf',
950: '#000000',
},
}SCSS
$custom: #505ecf; $custom-light: #8d8bde; $custom-dark: #000000;
JSON
{
"hex": "#505ecf",
"rgb": {
"r": 80,
"g": 94,
"b": 207
},
"hsl": {
"h": 233.386,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.53323,
"c": 0.17344,
"h": 273.7
},
"luminance": 0.14216
}Semantic roles & 50–950 ramp
primary
#505ECF
secondary
#D8D2A3
accent
#CF48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83