#505BB2#505BB2
#505BB2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.137 H 275.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #505BB2 |
|---|---|
| RGB | rgb(80, 91, 178) |
| HSL | hsl(233, 39%, 51%) |
| HSV | hsv(233, 55%, 70%) |
| CMYK | cmyk(55.1%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(41.85, 21.36, -47.80) |
| CIE-LCH | lch(41.85, 52.36, 294.08°) |
| OKLab | oklab(50.68% 0.0119 -0.1363) |
| OKLCH | oklch(50.68% 0.137 275) |
| XYZ | xyz(15.0827, 12.4010, 43.7097) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.77
Dusky Blue
#475F94
ΔE00 5.44
Warm Blue
#4B57DB
ΔE00 5.89
Dark Periwinkle
#665FD1
ΔE00 6.12
Denim Blue
#3B5B92
ΔE00 6.43
Slate Blue
#6A5ACD
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BB2 #B2A750
analogous
#508CB2 #505BB2 #7650B2
triadic
#505BB2 #B2505B #5BB250
tetradic
#505BB2 #B2508C #B2A750 #50B276
square
#505BB2 #B2508C #B2A750 #50B276
split-complementary
#505BB2 #B27650 #8CB250
monochromatic
#292F5E #3C4589 #505BB2 #7A83C5 #A5ABD7
Accessibility & contrast
On white
6.03
#505BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#505BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BB2
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BB2 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#1E6E7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #505bb2; /* rgb */ color: rgb(80, 91, 178); /* oklch */ color: oklch(50.7% 0.137 275.0);
Tailwind
colors: {
custom: {
50: '#8989c9',
500: '#505bb2',
950: '#000000',
},
}SCSS
$custom: #505bb2; $custom-light: #8989c9; $custom-dark: #000000;
JSON
{
"hex": "#505bb2",
"rgb": {
"r": 80,
"g": 91,
"b": 178
},
"hsl": {
"h": 233.265,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.50684,
"c": 0.13687,
"h": 275
},
"luminance": 0.12402
}Semantic roles & 50–950 ramp
primary
#505BB2
secondary
#C5C099
accent
#C259CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82