#2B52BD#2B52BD
#2B52BD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.174 H 265.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52BD |
|---|---|
| RGB | rgb(43, 82, 189) |
| HSL | hsl(224, 63%, 45%) |
| HSV | hsv(224, 77%, 74%) |
| CMYK | cmyk(77.2%, 56.6%, 0%, 25.9%) |
| CIE-LAB | lab(38.24, 25.13, -60.18) |
| CIE-LCH | lch(38.24, 65.22, 292.66°) |
| OKLab | oklab(47.67% -0.0148 -0.1737) |
| OKLCH | oklch(47.67% 0.174 265.1) |
| XYZ | xyz(13.1956, 10.2208, 49.4116) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.23
Cobalt
#0047AB
ΔE00 4.62
Blue Blue
#2242C7
ΔE00 5.29
Denim
#1560BD
ΔE00 6.00
Blue (survey)
#0343DF
ΔE00 6.16
Warm Blue
#4B57DB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52BD #BD962B
analogous
#2B9BBD #2B52BD #4D2BBD
triadic
#2B52BD #BD2B52 #52BD2B
tetradic
#2B52BD #BD2B9B #BD962B #2BBD4D
square
#2B52BD #BD2B9B #BD962B #2BBD4D
split-complementary
#2B52BD #BD4D2B #9BBD2B
monochromatic
#142759 #203C8B #2B52BD #4E73D7 #809AE2
Accessibility & contrast
On white
6.90
#2B52BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2B52BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B52BD
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52BD | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2b52bd; /* rgb */ color: rgb(43, 82, 189); /* oklch */ color: oklch(47.7% 0.174 265.1);
Tailwind
colors: {
custom: {
50: '#7b82d2',
500: '#2b52bd',
950: '#000000',
},
}SCSS
$custom: #2b52bd; $custom-light: #7b82d2; $custom-dark: #000000;
JSON
{
"hex": "#2b52bd",
"rgb": {
"r": 43,
"g": 82,
"b": 189
},
"hsl": {
"h": 223.973,
"s": 62.931,
"l": 45.49
},
"oklch": {
"l": 0.47673,
"c": 0.17431,
"h": 265.1
},
"luminance": 0.10222
}Semantic roles & 50–950 ramp
primary
#2B52BD
secondary
#CBB579
accent
#BA42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83