#505BBB#505BBB
#505BBB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.150 H 274.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #505BBB |
|---|---|
| RGB | rgb(80, 91, 187) |
| HSL | hsl(234, 44%, 52%) |
| HSV | hsv(234, 57%, 73%) |
| CMYK | cmyk(57.2%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(42.42, 24.35, -52.15) |
| CIE-LCH | lch(42.42, 57.55, 295.03°) |
| OKLab | oklab(51.3% 0.0128 -0.1491) |
| OKLCH | oklch(51.3% 0.15 274.9) |
| XYZ | xyz(16.0161, 12.7743, 48.6258) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.02
Warm Blue
#4B57DB
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 5.62
Light Indigo
#6D5ACF
ΔE00 6.23
Dusky Blue
#475F94
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BBB #BBB050
analogous
#5090BB #505BBB #7B50BB
triadic
#505BBB #BB505B #5BBB50
tetradic
#505BBB #BB5090 #BBB050 #50BB7B
square
#505BBB #BB5090 #BBB050 #50BB7B
split-complementary
#505BBB #BB7B50 #90BB50
monochromatic
#282F68 #3A4394 #505BBB #7C84CC #A8AEDD
Accessibility & contrast
On white
5.91
#505BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#505BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BBB
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BBB | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2769BE
Deuteranopia (green-blind)
#1260B9
Tritanopia (blue-blind)
#0C7182
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #505bbb; /* rgb */ color: rgb(80, 91, 187); /* oklch */ color: oklch(51.3% 0.150 274.9);
Tailwind
colors: {
custom: {
50: '#8a89d0',
500: '#505bbb',
950: '#000000',
},
}SCSS
$custom: #505bbb; $custom-light: #8a89d0; $custom-dark: #000000;
JSON
{
"hex": "#505bbb",
"rgb": {
"r": 80,
"g": 91,
"b": 187
},
"hsl": {
"h": 233.832,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.51303,
"c": 0.14967,
"h": 274.9
},
"luminance": 0.12776
}Semantic roles & 50–950 ramp
primary
#505BBB
secondary
#CBC69C
accent
#C754D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82