#2B48B2#2B48B2
#2B48B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.172 H 267.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2B48B2 |
|---|---|
| RGB | rgb(43, 72, 178) |
| HSL | hsl(227, 61%, 43%) |
| HSV | hsv(227, 76%, 70%) |
| CMYK | cmyk(75.8%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.72, 27.56, -59.42) |
| CIE-LCH | lch(34.72, 65.50, 294.88°) |
| OKLab | oklab(44.77% -0.0083 -0.1716) |
| OKLCH | oklch(44.77% 0.172 267.2) |
| XYZ | xyz(11.3467, 8.3614, 43.1268) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.18
Blue Blue
#2242C7
ΔE00 3.44
Sapphire
#0F52BA
ΔE00 4.42
Sapphire (survey)
#2138AB
ΔE00 4.83
Blue (survey)
#0343DF
ΔE00 5.77
Cobalt (survey)
#1E488F
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B48B2 #B2952B
analogous
#2B8BB2 #2B48B2 #512BB2
triadic
#2B48B2 #B22B48 #48B22B
tetradic
#2B48B2 #B22B8B #B2952B #2BB251
square
#2B48B2 #B22B8B #B2952B #2BB251
split-complementary
#2B48B2 #B2512B #8BB22B
monochromatic
#13204F #1F3481 #2B48B2 #4865D3 #798FDF
Accessibility & contrast
On white
7.86
#2B48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2B48B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B48B2
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B48B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B48B2 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2b48b2; /* rgb */ color: rgb(43, 72, 178); /* oklch */ color: oklch(44.8% 0.172 267.2);
Tailwind
colors: {
custom: {
50: '#797aca',
500: '#2b48b2',
950: '#000000',
},
}SCSS
$custom: #2b48b2; $custom-light: #797aca; $custom-dark: #000000;
JSON
{
"hex": "#2b48b2",
"rgb": {
"r": 43,
"g": 72,
"b": 178
},
"hsl": {
"h": 227.111,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.44771,
"c": 0.1718,
"h": 267.2
},
"luminance": 0.08363
}Semantic roles & 50–950 ramp
primary
#2B48B2
secondary
#C7B472
accent
#C244E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82