#2B48A6#2B48A6
#2B48A6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.155 H 266.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2B48A6 |
|---|---|
| RGB | rgb(43, 72, 166) |
| HSL | hsl(226, 59%, 41%) |
| HSV | hsv(226, 74%, 65%) |
| CMYK | cmyk(74.1%, 56.6%, 0%, 34.9%) |
| CIE-LAB | lab(33.77, 23.02, -53.82) |
| CIE-LCH | lch(33.77, 58.53, 293.15°) |
| OKLab | oklab(43.76% -0.0087 -0.1551) |
| OKLCH | oklch(43.76% 0.155 266.8) |
| XYZ | xyz(10.1942, 7.9004, 37.0567) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.60
Cobalt (survey)
#1E488F
ΔE00 4.19
Sapphire
#0F52BA
ΔE00 4.65
Blue Blue
#2242C7
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.14
Blueberry
#464196
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B48A6 #A6892B
analogous
#2B85A6 #2B48A6 #4B2BA6
triadic
#2B48A6 #A62B48 #48A62B
tetradic
#2B48A6 #A62B85 #A6892B #2BA64B
square
#2B48A6 #A62B85 #A6892B #2BA64B
split-complementary
#2B48A6 #A64B2B #85A62B
monochromatic
#121E45 #1E3375 #2B48A6 #4162CE #718ADA
Accessibility & contrast
On white
8.14
#2B48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2B48A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B48A6
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B48A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B48A6 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b48a6; /* rgb */ color: rgb(43, 72, 166); /* oklch */ color: oklch(43.8% 0.155 266.8);
Tailwind
colors: {
custom: {
50: '#767ac1',
500: '#2b48a6',
950: '#000000',
},
}SCSS
$custom: #2b48a6; $custom-light: #767ac1; $custom-dark: #000000;
JSON
{
"hex": "#2b48a6",
"rgb": {
"r": 43,
"g": 72,
"b": 166
},
"hsl": {
"h": 225.854,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.43762,
"c": 0.15538,
"h": 266.8
},
"luminance": 0.07901
}Semantic roles & 50–950 ramp
primary
#2B48A6
secondary
#C1AD6B
accent
#BD46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81