#2B52A8#2B52A8
#2B52A8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.146 H 263.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52A8 |
|---|---|
| RGB | rgb(43, 82, 168) |
| HSL | hsl(221, 59%, 41%) |
| HSV | hsv(221, 74%, 66%) |
| CMYK | cmyk(74.4%, 51.2%, 0%, 34.1%) |
| CIE-LAB | lab(36.69, 17.11, -50.28) |
| CIE-LCH | lch(36.69, 53.11, 288.79°) |
| OKLab | oklab(46.02% -0.0167 -0.1446) |
| OKLCH | oklch(46.02% 0.146 263.4) |
| XYZ | xyz(11.0789, 9.3741, 38.2637) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.49
Cobalt
#0047AB
ΔE00 3.75
Dusk Blue
#26538D
ΔE00 4.14
Denim Blue
#3B5B92
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 4.51
Light Navy Blue
#2E5A88
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52A8 #A8812B
analogous
#2B91A8 #2B52A8 #432BA8
triadic
#2B52A8 #A82B52 #52A82B
tetradic
#2B52A8 #A82B91 #A8812B #2BA843
square
#2B52A8 #A82B91 #A8812B #2BA843
split-complementary
#2B52A8 #A8432B #91A82B
monochromatic
#122247 #1F3A77 #2B52A8 #426ECF #7293DB
Accessibility & contrast
On white
7.30
#2B52A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2B52A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52A8
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52A8 | 1.00 | 7.30 | 2.87 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5CAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b52a8; /* rgb */ color: rgb(43, 82, 168); /* oklch */ color: oklch(46.0% 0.146 263.4);
Tailwind
colors: {
custom: {
50: '#7682c2',
500: '#2b52a8',
950: '#000000',
},
}SCSS
$custom: #2b52a8; $custom-light: #7682c2; $custom-dark: #000000;
JSON
{
"hex": "#2b52a8",
"rgb": {
"r": 43,
"g": 82,
"b": 168
},
"hsl": {
"h": 221.28,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.46019,
"c": 0.14553,
"h": 263.4
},
"luminance": 0.09375
}Semantic roles & 50–950 ramp
primary
#2B52A8
secondary
#C2A86C
accent
#B145E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81