#5175BF#5175BF
#5175BF is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.0% C 0.122 H 263.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5175BF |
|---|---|
| RGB | rgb(81, 117, 191) |
| HSL | hsl(220, 46%, 53%) |
| HSV | hsv(220, 58%, 75%) |
| CMYK | cmyk(57.6%, 38.7%, 0%, 25.1%) |
| CIE-LAB | lab(49.78, 9.63, -42.71) |
| CIE-LCH | lch(49.78, 43.78, 282.71°) |
| OKLab | oklab(57.02% -0.014 -0.1211) |
| OKLCH | oklch(57.02% 0.122 263.4) |
| XYZ | xyz(19.1554, 18.2319, 51.7898) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.62
French Blue
#436BAD
ΔE00 4.54
Windows Blue
#3778BF
ΔE00 4.81
Medium Blue
#2C6FBB
ΔE00 5.35
Flat Blue
#3C73A8
ΔE00 5.51
Royal Blue
#4169E1
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5175BF #BF9B51
analogous
#51ACBF #5175BF #6451BF
triadic
#5175BF #BF5175 #75BF51
tetradic
#5175BF #BF51AC #BF9B51 #51BF64
square
#5175BF #BF51AC #BF9B51 #51BF64
split-complementary
#5175BF #BF6451 #ACBF51
monochromatic
#283F6D #39599A #5175BF #7E98CF #AABCE0
Accessibility & contrast
On white
4.52
#5175BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#5175BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5175BF
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5175BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5175BF | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5175bf; /* rgb */ color: rgb(81, 117, 191); /* oklch */ color: oklch(57.0% 0.122 263.4);
Tailwind
colors: {
custom: {
50: '#8a9cd3',
500: '#5175bf',
950: '#000000',
},
}SCSS
$custom: #5175bf; $custom-light: #8a9cd3; $custom-dark: #000000;
JSON
{
"hex": "#5175bf",
"rgb": {
"r": 81,
"g": 117,
"b": 191
},
"hsl": {
"h": 220.364,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.57016,
"c": 0.12194,
"h": 263.4
},
"luminance": 0.18233
}Semantic roles & 50–950 ramp
primary
#5175BF
secondary
#CEBE9E
accent
#AB52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82