#2B52A2#2B52A2
#2B52A2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.137 H 262.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52A2 |
|---|---|
| RGB | rgb(43, 82, 162) |
| HSL | hsl(220, 58%, 40%) |
| HSV | hsv(220, 73%, 64%) |
| CMYK | cmyk(73.5%, 49.4%, 0%, 36.5%) |
| CIE-LAB | lab(36.28, 14.81, -47.37) |
| CIE-LCH | lch(36.28, 49.63, 287.36°) |
| OKLab | oklab(45.57% -0.0175 -0.136) |
| OKLCH | oklch(45.57% 0.137 262.7) |
| XYZ | xyz(10.5328, 9.1557, 35.3875) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.10
Dusk Blue
#26538D
ΔE00 3.38
Denim Blue
#3B5B92
ΔE00 3.84
Cobalt
#0047AB
ΔE00 3.92
Cobalt (survey)
#1E488F
ΔE00 3.95
Light Navy Blue
#2E5A88
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52A2 #A27B2B
analogous
#2B8EA2 #2B52A2 #3F2BA2
triadic
#2B52A2 #A22B52 #52A22B
tetradic
#2B52A2 #A22B8E #A27B2B #2BA23F
square
#2B52A2 #A22B8E #A27B2B #2BA23F
split-complementary
#2B52A2 #A23F2B #8EA22B
monochromatic
#112141 #1E3A72 #2B52A2 #3E6DCC #6F91D9
Accessibility & contrast
On white
7.42
#2B52A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2B52A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52A2
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52A2 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b52a2; /* rgb */ color: rgb(43, 82, 162); /* oklch */ color: oklch(45.6% 0.137 262.7);
Tailwind
colors: {
custom: {
50: '#7482be',
500: '#2b52a2',
950: '#000000',
},
}SCSS
$custom: #2b52a2; $custom-light: #7482be; $custom-dark: #000000;
JSON
{
"hex": "#2b52a2",
"rgb": {
"r": 43,
"g": 82,
"b": 162
},
"hsl": {
"h": 220.336,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.45572,
"c": 0.1371,
"h": 262.7
},
"luminance": 0.09157
}Semantic roles & 50–950 ramp
primary
#2B52A2
secondary
#C0A369
accent
#AF47E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81