#2B52A3#2B52A3
#2B52A3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.139 H 262.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52A3 |
|---|---|
| RGB | rgb(43, 82, 163) |
| HSL | hsl(221, 58%, 40%) |
| HSV | hsv(221, 74%, 64%) |
| CMYK | cmyk(73.6%, 49.7%, 0%, 36.1%) |
| CIE-LAB | lab(36.35, 15.19, -47.85) |
| CIE-LCH | lch(36.35, 50.21, 287.61°) |
| OKLab | oklab(45.65% -0.0173 -0.1374) |
| OKLCH | oklch(45.65% 0.139 262.8) |
| XYZ | xyz(10.6221, 9.1914, 35.8575) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.00
Dusk Blue
#26538D
ΔE00 3.50
Cobalt
#0047AB
ΔE00 3.88
Denim Blue
#3B5B92
ΔE00 3.92
Cobalt (survey)
#1E488F
ΔE00 4.03
Light Navy Blue
#2E5A88
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52A3 #A37C2B
analogous
#2B8EA3 #2B52A3 #402BA3
triadic
#2B52A3 #A32B52 #52A32B
tetradic
#2B52A3 #A32B8E #A37C2B #2BA340
square
#2B52A3 #A32B8E #A37C2B #2BA340
split-complementary
#2B52A3 #A3402B #8EA32B
monochromatic
#112142 #1E3A73 #2B52A3 #3F6DCC #6F92D9
Accessibility & contrast
On white
7.40
#2B52A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2B52A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52A3
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52A3 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245BA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b52a3; /* rgb */ color: rgb(43, 82, 163); /* oklch */ color: oklch(45.6% 0.139 262.8);
Tailwind
colors: {
custom: {
50: '#7582bf',
500: '#2b52a3',
950: '#000000',
},
}SCSS
$custom: #2b52a3; $custom-light: #7582bf; $custom-dark: #000000;
JSON
{
"hex": "#2b52a3",
"rgb": {
"r": 43,
"g": 82,
"b": 163
},
"hsl": {
"h": 220.5,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.45646,
"c": 0.13851,
"h": 262.8
},
"luminance": 0.09193
}Semantic roles & 50–950 ramp
primary
#2B52A3
secondary
#C0A46A
accent
#AF46E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81