#2B52AA#2B52AA
#2B52AA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.148 H 263.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52AA |
|---|---|
| RGB | rgb(43, 82, 170) |
| HSL | hsl(222, 60%, 42%) |
| HSV | hsv(222, 75%, 67%) |
| CMYK | cmyk(74.7%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(36.84, 17.88, -51.25) |
| CIE-LCH | lch(36.84, 54.28, 289.23°) |
| OKLab | oklab(46.17% -0.0164 -0.1474) |
| OKLCH | oklch(46.17% 0.148 263.6) |
| XYZ | xyz(11.2667, 9.4492, 39.2525) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.32
Cobalt
#0047AB
ΔE00 3.74
Dusk Blue
#26538D
ΔE00 4.39
Denim Blue
#3B5B92
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 4.72
Light Navy Blue
#2E5A88
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52AA #AA832B
analogous
#2B92AA #2B52AA #442BAA
triadic
#2B52AA #AA2B52 #52AA2B
tetradic
#2B52AA #AA2B92 #AA832B #2BAA44
square
#2B52AA #AA2B92 #AA832B #2BAA44
split-complementary
#2B52AA #AA442B #92AA2B
monochromatic
#122348 #1F3A79 #2B52AA #436ECF #7494DC
Accessibility & contrast
On white
7.27
#2B52AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2B52AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52AA
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52AA | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5DAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b52aa; /* rgb */ color: rgb(43, 82, 170); /* oklch */ color: oklch(46.2% 0.148 263.6);
Tailwind
colors: {
custom: {
50: '#7682c4',
500: '#2b52aa',
950: '#000000',
},
}SCSS
$custom: #2b52aa; $custom-light: #7682c4; $custom-dark: #000000;
JSON
{
"hex": "#2b52aa",
"rgb": {
"r": 43,
"g": 82,
"b": 170
},
"hsl": {
"h": 221.575,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.46171,
"c": 0.14831,
"h": 263.6
},
"luminance": 0.0945
}Semantic roles & 50–950 ramp
primary
#2B52AA
secondary
#C3A96E
accent
#B245E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82