#505BB9#505BB9
#505BB9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.147 H 274.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #505BB9 |
|---|---|
| RGB | rgb(80, 91, 185) |
| HSL | hsl(234, 43%, 52%) |
| HSV | hsv(234, 57%, 73%) |
| CMYK | cmyk(56.8%, 50.8%, 0%, 27.5%) |
| CIE-LAB | lab(42.29, 23.69, -51.19) |
| CIE-LCH | lch(42.29, 56.40, 294.83°) |
| OKLab | oklab(51.16% 0.0127 -0.1463) |
| OKLCH | oklch(51.16% 0.147 274.9) |
| XYZ | xyz(15.8035, 12.6893, 47.5060) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.16
Warm Blue
#4B57DB
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 5.34
Slate Blue
#6A5ACD
ΔE00 5.79
Dusky Blue
#475F94
ΔE00 6.25
Light Indigo
#6D5ACF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BB9 #B9AE50
analogous
#5090B9 #505BB9 #7A50B9
triadic
#505BB9 #B9505B #5BB950
tetradic
#505BB9 #B95090 #B9AE50 #50B97A
square
#505BB9 #B95090 #B9AE50 #50B97A
split-complementary
#505BB9 #B97A50 #90B950
monochromatic
#292F66 #3A4392 #505BB9 #7C84CA #A7ADDC
Accessibility & contrast
On white
5.94
#505BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#505BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BB9
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BB9 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A68BC
Deuteranopia (green-blind)
#1860B7
Tritanopia (blue-blind)
#127081
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #505bb9; /* rgb */ color: rgb(80, 91, 185); /* oklch */ color: oklch(51.2% 0.147 274.9);
Tailwind
colors: {
custom: {
50: '#8a89cf',
500: '#505bb9',
950: '#000000',
},
}SCSS
$custom: #505bb9; $custom-light: #8a89cf; $custom-dark: #000000;
JSON
{
"hex": "#505bb9",
"rgb": {
"r": 80,
"g": 91,
"b": 185
},
"hsl": {
"h": 233.714,
"s": 42.857,
"l": 51.961
},
"oklch": {
"l": 0.51163,
"c": 0.14685,
"h": 274.9
},
"luminance": 0.1269
}Semantic roles & 50–950 ramp
primary
#505BB9
secondary
#C9C59B
accent
#C555D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82