#505FBE#505FBE
#505FBE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.149 H 273.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #505FBE |
|---|---|
| RGB | rgb(80, 95, 190) |
| HSL | hsl(232, 46%, 53%) |
| HSV | hsv(232, 58%, 75%) |
| CMYK | cmyk(57.9%, 50%, 0%, 25.5%) |
| CIE-LAB | lab(43.66, 22.83, -51.90) |
| CIE-LCH | lch(43.66, 56.70, 293.75°) |
| OKLab | oklab(52.3% 0.0089 -0.1483) |
| OKLCH | oklch(52.3% 0.149 273.4) |
| XYZ | xyz(16.6917, 13.6063, 50.4519) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.72
Warm Blue
#4B57DB
ΔE00 4.73
Dark Periwinkle
#665FD1
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.96
Royal Blue
#4169E1
ΔE00 6.07
Dusky Blue
#475F94
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FBE #BEAF50
analogous
#5096BE #505FBE #7850BE
triadic
#505FBE #BE505F #5FBE50
tetradic
#505FBE #BE5096 #BEAF50 #50BE78
square
#505FBE #BE5096 #BEAF50 #50BE78
split-complementary
#505FBE #BE7850 #96BE50
monochromatic
#28316C #394698 #505FBE #7D88CF #A9B1DF
Accessibility & contrast
On white
5.64
#505FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#505FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FBE
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FBE | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#1A63BC
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505fbe; /* rgb */ color: rgb(80, 95, 190); /* oklch */ color: oklch(52.3% 0.149 273.4);
Tailwind
colors: {
custom: {
50: '#8a8cd2',
500: '#505fbe',
950: '#000000',
},
}SCSS
$custom: #505fbe; $custom-light: #8a8cd2; $custom-dark: #000000;
JSON
{
"hex": "#505fbe",
"rgb": {
"r": 80,
"g": 95,
"b": 190
},
"hsl": {
"h": 231.818,
"s": 45.833,
"l": 52.941
},
"oklch": {
"l": 0.52302,
"c": 0.1486,
"h": 273.4
},
"luminance": 0.13608
}Semantic roles & 50–950 ramp
primary
#505FBE
secondary
#CDC69D
accent
#C452D5
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83