#506FBC#506FBC
#506FBC is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.5% C 0.125 H 265.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #506FBC |
|---|---|
| RGB | rgb(80, 111, 188) |
| HSL | hsl(223, 45%, 53%) |
| HSV | hsv(223, 57%, 74%) |
| CMYK | cmyk(57.4%, 41%, 0%, 26.3%) |
| CIE-LAB | lab(47.88, 12.12, -43.99) |
| CIE-LCH | lch(47.88, 45.63, 285.41°) |
| OKLab | oklab(55.49% -0.0089 -0.1249) |
| OKLCH | oklch(55.49% 0.125 265.9) |
| XYZ | xyz(18.0667, 16.7038, 49.8393) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.30
Cornflower Blue
#5170D7
ΔE00 3.56
Royal Blue
#4169E1
ΔE00 4.89
Medium Blue
#2C6FBB
ΔE00 5.55
Flat Blue
#3C73A8
ΔE00 5.99
Dull Blue
#49759C
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#506FBC #BC9D50
analogous
#50A5BC #506FBC #6750BC
triadic
#506FBC #BC506F #6FBC50
tetradic
#506FBC #BC50A5 #BC9D50 #50BC67
square
#506FBC #BC50A5 #BC9D50 #50BC67
split-complementary
#506FBC #BC6750 #A5BC50
monochromatic
#283B69 #395496 #506FBC #7C93CD #A9B8DE
Accessibility & contrast
On white
4.84
#506FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#506FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #506FBC
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##506FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##506FBC | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #506fbc; /* rgb */ color: rgb(80, 111, 188); /* oklch */ color: oklch(55.5% 0.125 265.9);
Tailwind
colors: {
custom: {
50: '#8998d0',
500: '#506fbc',
950: '#000000',
},
}SCSS
$custom: #506fbc; $custom-light: #8998d0; $custom-dark: #000000;
JSON
{
"hex": "#506fbc",
"rgb": {
"r": 80,
"g": 111,
"b": 188
},
"hsl": {
"h": 222.778,
"s": 44.628,
"l": 52.549
},
"oklch": {
"l": 0.55488,
"c": 0.12527,
"h": 265.9
},
"luminance": 0.16705
}Semantic roles & 50–950 ramp
primary
#506FBC
secondary
#CBBE9C
accent
#AF53D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82