#2B52A4#2B52A4
#2B52A4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.140 H 262.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52A4 |
|---|---|
| RGB | rgb(43, 82, 164) |
| HSL | hsl(221, 58%, 41%) |
| HSV | hsv(221, 74%, 64%) |
| CMYK | cmyk(73.8%, 50%, 0%, 35.7%) |
| CIE-LAB | lab(36.42, 15.58, -48.34) |
| CIE-LCH | lch(36.42, 50.79, 287.86°) |
| OKLab | oklab(45.72% -0.0172 -0.1389) |
| OKLCH | oklch(45.72% 0.14 262.9) |
| XYZ | xyz(10.7120, 9.2274, 36.3313) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.89
Dusk Blue
#26538D
ΔE00 3.63
Cobalt
#0047AB
ΔE00 3.84
Denim Blue
#3B5B92
ΔE00 3.99
Cobalt (survey)
#1E488F
ΔE00 4.12
Light Navy Blue
#2E5A88
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52A4 #A47D2B
analogous
#2B8EA4 #2B52A4 #402BA4
triadic
#2B52A4 #A42B52 #52A42B
tetradic
#2B52A4 #A42B8E #A47D2B #2BA440
square
#2B52A4 #A42B8E #A47D2B #2BA440
split-complementary
#2B52A4 #A4402B #8EA42B
monochromatic
#122243 #1E3A74 #2B52A4 #3F6DCD #7092D9
Accessibility & contrast
On white
7.38
#2B52A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2B52A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52A4
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52A4 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b52a4; /* rgb */ color: rgb(43, 82, 164); /* oklch */ color: oklch(45.7% 0.140 262.9);
Tailwind
colors: {
custom: {
50: '#7582bf',
500: '#2b52a4',
950: '#000000',
},
}SCSS
$custom: #2b52a4; $custom-light: #7582bf; $custom-dark: #000000;
JSON
{
"hex": "#2b52a4",
"rgb": {
"r": 43,
"g": 82,
"b": 164
},
"hsl": {
"h": 220.661,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.4572,
"c": 0.13992,
"h": 262.9
},
"luminance": 0.09229
}Semantic roles & 50–950 ramp
primary
#2B52A4
secondary
#C1A56A
accent
#B046E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81