#5270BB#5270BB
#5270BB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.122 H 266.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5270BB |
|---|---|
| RGB | rgb(82, 112, 187) |
| HSL | hsl(223, 44%, 53%) |
| HSV | hsv(223, 56%, 73%) |
| CMYK | cmyk(56.1%, 40.1%, 0%, 26.7%) |
| CIE-LAB | lab(48.22, 11.59, -42.87) |
| CIE-LCH | lch(48.22, 44.41, 285.13°) |
| OKLab | oklab(55.76% -0.0083 -0.1216) |
| OKLCH | oklch(55.76% 0.122 266.1) |
| XYZ | xyz(18.2405, 16.9686, 49.3181) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.56
Cornflower Blue
#5170D7
ΔE00 3.61
Royal Blue
#4169E1
ΔE00 5.17
Medium Blue
#2C6FBB
ΔE00 5.76
Flat Blue
#3C73A8
ΔE00 6.08
Dull Blue
#49759C
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5270BB #BB9D52
analogous
#52A4BB #5270BB #6852BB
triadic
#5270BB #BB5270 #70BB52
tetradic
#5270BB #BB52A4 #BB9D52 #52BB68
square
#5270BB #BB52A4 #BB9D52 #52BB68
split-complementary
#5270BB #BB6852 #A4BB52
monochromatic
#293C69 #3B5495 #5270BB #7E94CC #AAB9DE
Accessibility & contrast
On white
4.78
#5270BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#5270BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5270BB
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5270BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5270BB | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#0F808C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5270bb; /* rgb */ color: rgb(82, 112, 187); /* oklch */ color: oklch(55.8% 0.122 266.1);
Tailwind
colors: {
custom: {
50: '#8a98d0',
500: '#5270bb',
950: '#000000',
},
}SCSS
$custom: #5270bb; $custom-light: #8a98d0; $custom-dark: #000000;
JSON
{
"hex": "#5270bb",
"rgb": {
"r": 82,
"g": 112,
"b": 187
},
"hsl": {
"h": 222.857,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.55759,
"c": 0.12191,
"h": 266.1
},
"luminance": 0.1697
}Semantic roles & 50–950 ramp
primary
#5270BB
secondary
#CBBE9E
accent
#AF54D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82