#1B52A7#1B52A7
#1B52A7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.149 H 259.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1B52A7 |
|---|---|
| RGB | rgb(27, 82, 167) |
| HSL | hsl(216, 72%, 38%) |
| HSV | hsv(216, 84%, 65%) |
| CMYK | cmyk(83.8%, 50.9%, 0%, 34.5%) |
| CIE-LAB | lab(36.09, 14.93, -50.69) |
| CIE-LCH | lch(36.09, 52.84, 286.42°) |
| OKLab | oklab(45.39% -0.0275 -0.146) |
| OKLCH | oklch(45.39% 0.149 259.3) |
| XYZ | xyz(10.4418, 9.0563, 37.7494) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.41
Dusk Blue
#26538D
ΔE00 3.24
Cobalt
#0047AB
ΔE00 3.71
Cobalt (survey)
#1E488F
ΔE00 4.24
Denim Blue
#3B5B92
ΔE00 4.50
Light Navy Blue
#2E5A88
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B52A7 #A7701B
analogous
#1B98A7 #1B52A7 #2A1BA7
triadic
#1B52A7 #A71B52 #52A71B
tetradic
#1B52A7 #A71B98 #A7701B #1BA72A
square
#1B52A7 #A71B98 #A7701B #1BA72A
split-complementary
#1B52A7 #A72A1B #98A71B
monochromatic
#0A1E3E #123872 #1B52A7 #246CDC #588FE4
Accessibility & contrast
On white
7.47
#1B52A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#1B52A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B52A7
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B52A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B52A7 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5CAA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #1b52a7; /* rgb */ color: rgb(27, 82, 167); /* oklch */ color: oklch(45.4% 0.149 259.3);
Tailwind
colors: {
custom: {
50: '#7181c2',
500: '#1b52a7',
950: '#000000',
},
}SCSS
$custom: #1b52a7; $custom-light: #7181c2; $custom-dark: #000000;
JSON
{
"hex": "#1b52a7",
"rgb": {
"r": 27,
"g": 82,
"b": 167
},
"hsl": {
"h": 216.429,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.45387,
"c": 0.14857,
"h": 259.3
},
"luminance": 0.09058
}Semantic roles & 50–950 ramp
primary
#1B52A7
secondary
#C89B56
accent
#A739EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81