#2B52A1#2B52A1
#2B52A1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.136 H 262.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52A1 |
|---|---|
| RGB | rgb(43, 82, 161) |
| HSL | hsl(220, 58%, 40%) |
| HSV | hsv(220, 73%, 63%) |
| CMYK | cmyk(73.3%, 49.1%, 0%, 36.9%) |
| CIE-LAB | lab(36.21, 14.42, -46.88) |
| CIE-LCH | lch(36.21, 49.04, 287.10°) |
| OKLab | oklab(45.5% -0.0176 -0.1345) |
| OKLCH | oklch(45.5% 0.136 262.5) |
| XYZ | xyz(10.4443, 9.1203, 34.9213) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.21
Dusk Blue
#26538D
ΔE00 3.25
Denim Blue
#3B5B92
ΔE00 3.78
Cobalt (survey)
#1E488F
ΔE00 3.86
Cobalt
#0047AB
ΔE00 3.97
Light Navy Blue
#2E5A88
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52A1 #A17A2B
analogous
#2B8DA1 #2B52A1 #3F2BA1
triadic
#2B52A1 #A12B52 #52A12B
tetradic
#2B52A1 #A12B8D #A17A2B #2BA13F
square
#2B52A1 #A12B8D #A17A2B #2BA13F
split-complementary
#2B52A1 #A13F2B #8DA12B
monochromatic
#112140 #1E3971 #2B52A1 #3E6DCB #6E91D8
Accessibility & contrast
On white
7.44
#2B52A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2B52A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52A1
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52A1 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265BA4
Deuteranopia (green-blind)
#01509F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b52a1; /* rgb */ color: rgb(43, 82, 161); /* oklch */ color: oklch(45.5% 0.136 262.5);
Tailwind
colors: {
custom: {
50: '#7482bd',
500: '#2b52a1',
950: '#000000',
},
}SCSS
$custom: #2b52a1; $custom-light: #7482bd; $custom-dark: #000000;
JSON
{
"hex": "#2b52a1",
"rgb": {
"r": 43,
"g": 82,
"b": 161
},
"hsl": {
"h": 220.169,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.45499,
"c": 0.13569,
"h": 262.5
},
"luminance": 0.09121
}Semantic roles & 50–950 ramp
primary
#2B52A1
secondary
#BFA369
accent
#AE47E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81