#2B48AB#2B48AB
#2B48AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.162 H 267.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2B48AB |
|---|---|
| RGB | rgb(43, 72, 171) |
| HSL | hsl(226, 60%, 42%) |
| HSV | hsv(226, 75%, 67%) |
| CMYK | cmyk(74.9%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(34.16, 24.91, -56.17) |
| CIE-LCH | lch(34.16, 61.45, 293.92°) |
| OKLab | oklab(44.18% -0.0085 -0.1621) |
| OKLCH | oklch(44.18% 0.162 267) |
| XYZ | xyz(10.6617, 8.0874, 39.5193) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.73
Blue Blue
#2242C7
ΔE00 4.36
Sapphire
#0F52BA
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 4.85
Sapphire (survey)
#2138AB
ΔE00 4.93
Blueberry
#464196
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B48AB #AB8E2B
analogous
#2B88AB #2B48AB #4E2BAB
triadic
#2B48AB #AB2B48 #48AB2B
tetradic
#2B48AB #AB2B88 #AB8E2B #2BAB4E
square
#2B48AB #AB2B88 #AB8E2B #2BAB4E
split-complementary
#2B48AB #AB4E2B #88AB2B
monochromatic
#121F49 #1F337A #2B48AB #4363D0 #748CDC
Accessibility & contrast
On white
8.02
#2B48AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2B48AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B48AB
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B48AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B48AB | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b48ab; /* rgb */ color: rgb(43, 72, 171); /* oklch */ color: oklch(44.2% 0.162 267.0);
Tailwind
colors: {
custom: {
50: '#777ac5',
500: '#2b48ab',
950: '#000000',
},
}SCSS
$custom: #2b48ab; $custom-light: #777ac5; $custom-dark: #000000;
JSON
{
"hex": "#2b48ab",
"rgb": {
"r": 43,
"g": 72,
"b": 171
},
"hsl": {
"h": 226.406,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.44177,
"c": 0.16228,
"h": 267
},
"luminance": 0.08089
}Semantic roles & 50–950 ramp
primary
#2B48AB
secondary
#C4B06E
accent
#BF45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82