#505FBC#505FBC
#505FBC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.146 H 273.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #505FBC |
|---|---|
| RGB | rgb(80, 95, 188) |
| HSL | hsl(232, 45%, 53%) |
| HSV | hsv(232, 57%, 74%) |
| CMYK | cmyk(57.4%, 49.5%, 0%, 26.3%) |
| CIE-LAB | lab(43.54, 22.16, -50.94) |
| CIE-LCH | lch(43.54, 55.55, 293.51°) |
| OKLab | oklab(52.16% 0.0087 -0.1455) |
| OKLCH | oklch(52.16% 0.146 273.4) |
| XYZ | xyz(16.4746, 13.5195, 49.3086) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.83
Warm Blue
#4B57DB
ΔE00 4.99
Dark Periwinkle
#665FD1
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 6.12
Dusky Blue
#475F94
ΔE00 6.14
Royal Blue
#4169E1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FBC #BCAD50
analogous
#5095BC #505FBC #7750BC
triadic
#505FBC #BC505F #5FBC50
tetradic
#505FBC #BC5095 #BCAD50 #50BC77
square
#505FBC #BC5095 #BCAD50 #50BC77
split-complementary
#505FBC #BC7750 #95BC50
monochromatic
#283169 #394696 #505FBC #7C87CD #A9B0DE
Accessibility & contrast
On white
5.67
#505FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#505FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FBC
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FBC | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#077484
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505fbc; /* rgb */ color: rgb(80, 95, 188); /* oklch */ color: oklch(52.2% 0.146 273.4);
Tailwind
colors: {
custom: {
50: '#8a8cd1',
500: '#505fbc',
950: '#000000',
},
}SCSS
$custom: #505fbc; $custom-light: #8a8cd1; $custom-dark: #000000;
JSON
{
"hex": "#505fbc",
"rgb": {
"r": 80,
"g": 95,
"b": 188
},
"hsl": {
"h": 231.667,
"s": 44.628,
"l": 52.549
},
"oklch": {
"l": 0.52165,
"c": 0.14578,
"h": 273.4
},
"luminance": 0.13521
}Semantic roles & 50–950 ramp
primary
#505FBC
secondary
#CBC59C
accent
#C253D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82