#2B48A2#2B48A2
#2B48A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.150 H 266.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2B48A2 |
|---|---|
| RGB | rgb(43, 72, 162) |
| HSL | hsl(225, 58%, 40%) |
| HSV | hsv(225, 73%, 64%) |
| CMYK | cmyk(73.5%, 55.6%, 0%, 36.5%) |
| CIE-LAB | lab(33.47, 21.49, -51.91) |
| CIE-LCH | lch(33.47, 56.19, 292.49°) |
| OKLab | oklab(43.44% -0.0089 -0.1495) |
| OKLCH | oklch(43.44% 0.15 266.6) |
| XYZ | xyz(9.8329, 7.7559, 35.1542) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.65
Cobalt (survey)
#1E488F
ΔE00 3.67
Sapphire
#0F52BA
ΔE00 4.85
Sapphire (survey)
#2138AB
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.62
Blueberry
#464196
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B48A2 #A2852B
analogous
#2B84A2 #2B48A2 #492BA2
triadic
#2B48A2 #A22B48 #48A22B
tetradic
#2B48A2 #A22B84 #A2852B #2BA249
square
#2B48A2 #A22B84 #A2852B #2BA249
split-complementary
#2B48A2 #A2492B #84A22B
monochromatic
#111D41 #1E3372 #2B48A2 #3E61CC #6F89D9
Accessibility & contrast
On white
8.23
#2B48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2B48A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B48A2
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B48A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B48A2 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b48a2; /* rgb */ color: rgb(43, 72, 162); /* oklch */ color: oklch(43.4% 0.150 266.6);
Tailwind
colors: {
custom: {
50: '#757abe',
500: '#2b48a2',
950: '#000000',
},
}SCSS
$custom: #2b48a2; $custom-light: #757abe; $custom-dark: #000000;
JSON
{
"hex": "#2b48a2",
"rgb": {
"r": 43,
"g": 72,
"b": 162
},
"hsl": {
"h": 225.378,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.43436,
"c": 0.1498,
"h": 266.6
},
"luminance": 0.07757
}Semantic roles & 50–950 ramp
primary
#2B48A2
secondary
#C0AB69
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81