#2A48B3#2A48B3
#2A48B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.173 H 267.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48B3 |
|---|---|
| RGB | rgb(42, 72, 179) |
| HSL | hsl(227, 62%, 43%) |
| HSV | hsv(227, 77%, 70%) |
| CMYK | cmyk(76.5%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(34.76, 27.82, -59.95) |
| CIE-LCH | lch(34.76, 66.09, 294.89°) |
| OKLab | oklab(44.81% -0.0091 -0.1732) |
| OKLCH | oklch(44.81% 0.173 267) |
| XYZ | xyz(11.4061, 8.3804, 43.6555) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.17
Blue Blue
#2242C7
ΔE00 3.34
Sapphire
#0F52BA
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.85
Blue (survey)
#0343DF
ΔE00 5.65
Cobalt (survey)
#1E488F
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48B3 #B3952A
analogous
#2A8CB3 #2A48B3 #502AB3
triadic
#2A48B3 #B32A48 #48B32A
tetradic
#2A48B3 #B32A8C #B3952A #2AB350
square
#2A48B3 #B32A8C #B3952A #2AB350
split-complementary
#2A48B3 #B3502A #8CB32A
monochromatic
#132050 #1E3481 #2A48B3 #4665D4 #788FDF
Accessibility & contrast
On white
7.85
#2A48B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2A48B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48B3
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48B3 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a48b3; /* rgb */ color: rgb(42, 72, 179); /* oklch */ color: oklch(44.8% 0.173 267.0);
Tailwind
colors: {
custom: {
50: '#797acb',
500: '#2a48b3',
950: '#000000',
},
}SCSS
$custom: #2a48b3; $custom-light: #797acb; $custom-dark: #000000;
JSON
{
"hex": "#2a48b3",
"rgb": {
"r": 42,
"g": 72,
"b": 179
},
"hsl": {
"h": 226.861,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.44813,
"c": 0.17342,
"h": 267
},
"luminance": 0.08382
}Semantic roles & 50–950 ramp
primary
#2A48B3
secondary
#C7B472
accent
#C243E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82