#2B52AB#2B52AB
#2B52AB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.150 H 263.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52AB |
|---|---|
| RGB | rgb(43, 82, 171) |
| HSL | hsl(222, 60%, 42%) |
| HSV | hsv(222, 75%, 67%) |
| CMYK | cmyk(74.9%, 52%, 0%, 32.9%) |
| CIE-LAB | lab(36.91, 18.26, -51.73) |
| CIE-LCH | lch(36.91, 54.86, 289.44°) |
| OKLab | oklab(46.25% -0.0163 -0.1488) |
| OKLCH | oklch(46.25% 0.15 263.7) |
| XYZ | xyz(11.3616, 9.4872, 39.7526) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.24
Cobalt
#0047AB
ΔE00 3.74
Dusk Blue
#26538D
ΔE00 4.52
Denim Blue
#3B5B92
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 4.82
Light Navy Blue
#2E5A88
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52AB #AB842B
analogous
#2B92AB #2B52AB #442BAB
triadic
#2B52AB #AB2B52 #52AB2B
tetradic
#2B52AB #AB2B92 #AB842B #2BAB44
square
#2B52AB #AB2B92 #AB842B #2BAB44
split-complementary
#2B52AB #AB442B #92AB2B
monochromatic
#122349 #1F3B7A #2B52AB #436ED0 #7494DC
Accessibility & contrast
On white
7.25
#2B52AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2B52AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52AB
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52AB | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185DAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b52ab; /* rgb */ color: rgb(43, 82, 171); /* oklch */ color: oklch(46.2% 0.150 263.7);
Tailwind
colors: {
custom: {
50: '#7682c5',
500: '#2b52ab',
950: '#000000',
},
}SCSS
$custom: #2b52ab; $custom-light: #7682c5; $custom-dark: #000000;
JSON
{
"hex": "#2b52ab",
"rgb": {
"r": 43,
"g": 82,
"b": 171
},
"hsl": {
"h": 221.719,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.46247,
"c": 0.1497,
"h": 263.7
},
"luminance": 0.09488
}Semantic roles & 50–950 ramp
primary
#2B52AB
secondary
#C4AA6E
accent
#B345E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82