#505BB7#505BB7
#505BB7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.144 H 275.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #505BB7 |
|---|---|
| RGB | rgb(80, 91, 183) |
| HSL | hsl(234, 42%, 52%) |
| HSV | hsv(234, 56%, 72%) |
| CMYK | cmyk(56.3%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(42.16, 23.02, -50.23) |
| CIE-LCH | lch(42.16, 55.25, 294.62°) |
| OKLab | oklab(51.03% 0.0125 -0.1435) |
| OKLCH | oklch(51.03% 0.144 275) |
| XYZ | xyz(15.5938, 12.6054, 46.4019) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 5.15
Dark Periwinkle
#665FD1
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 5.98
Dusky Blue
#475F94
ΔE00 6.02
Light Indigo
#6D5ACF
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BB7 #B7AC50
analogous
#508FB7 #505BB7 #7950B7
triadic
#505BB7 #B7505B #5BB750
tetradic
#505BB7 #B7508F #B7AC50 #50B779
square
#505BB7 #B7508F #B7AC50 #50B779
split-complementary
#505BB7 #B77950 #8FB750
monochromatic
#292F64 #3B448F #505BB7 #7B84C9 #A7ACDB
Accessibility & contrast
On white
5.96
#505BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#505BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BB7
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BB7 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#1C5FB5
Tritanopia (blue-blind)
#167080
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #505bb7; /* rgb */ color: rgb(80, 91, 183); /* oklch */ color: oklch(51.0% 0.144 275.0);
Tailwind
colors: {
custom: {
50: '#8989cd',
500: '#505bb7',
950: '#000000',
},
}SCSS
$custom: #505bb7; $custom-light: #8989cd; $custom-dark: #000000;
JSON
{
"hex": "#505bb7",
"rgb": {
"r": 80,
"g": 91,
"b": 183
},
"hsl": {
"h": 233.592,
"s": 41.7,
"l": 51.569
},
"oklch": {
"l": 0.51025,
"c": 0.14401,
"h": 275
},
"luminance": 0.12607
}Semantic roles & 50–950 ramp
primary
#505BB7
secondary
#C8C39B
accent
#C456D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82