#2B52A9#2B52A9
#2B52A9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.147 H 263.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52A9 |
|---|---|
| RGB | rgb(43, 82, 169) |
| HSL | hsl(221, 59%, 42%) |
| HSV | hsv(221, 75%, 66%) |
| CMYK | cmyk(74.6%, 51.5%, 0%, 33.7%) |
| CIE-LAB | lab(36.76, 17.49, -50.77) |
| CIE-LCH | lch(36.76, 53.70, 289.01°) |
| OKLab | oklab(46.1% -0.0165 -0.146) |
| OKLCH | oklch(46.1% 0.147 263.5) |
| XYZ | xyz(11.1724, 9.4115, 38.7562) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.40
Cobalt
#0047AB
ΔE00 3.74
Dusk Blue
#26538D
ΔE00 4.26
Denim Blue
#3B5B92
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 4.61
Light Navy Blue
#2E5A88
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52A9 #A9822B
analogous
#2B91A9 #2B52A9 #432BA9
triadic
#2B52A9 #A92B52 #52A92B
tetradic
#2B52A9 #A92B91 #A9822B #2BA943
square
#2B52A9 #A92B91 #A9822B #2BA943
split-complementary
#2B52A9 #A9432B #91A92B
monochromatic
#122347 #1F3A78 #2B52A9 #426ECF #7393DB
Accessibility & contrast
On white
7.29
#2B52A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2B52A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52A9
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52A9 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5DAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b52a9; /* rgb */ color: rgb(43, 82, 169); /* oklch */ color: oklch(46.1% 0.147 263.5);
Tailwind
colors: {
custom: {
50: '#7682c3',
500: '#2b52a9',
950: '#000000',
},
}SCSS
$custom: #2b52a9; $custom-light: #7682c3; $custom-dark: #000000;
JSON
{
"hex": "#2b52a9",
"rgb": {
"r": 43,
"g": 82,
"b": 169
},
"hsl": {
"h": 221.429,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.46095,
"c": 0.14693,
"h": 263.5
},
"luminance": 0.09413
}Semantic roles & 50–950 ramp
primary
#2B52A9
secondary
#C3A86D
accent
#B245E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81