#2A48B1#2A48B1
#2A48B1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.171 H 266.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48B1 |
|---|---|
| RGB | rgb(42, 72, 177) |
| HSL | hsl(227, 62%, 43%) |
| HSV | hsv(227, 76%, 69%) |
| CMYK | cmyk(76.3%, 59.3%, 0%, 30.6%) |
| CIE-LAB | lab(34.60, 27.06, -59.03) |
| CIE-LCH | lch(34.60, 64.94, 294.63°) |
| OKLab | oklab(44.64% -0.0091 -0.1705) |
| OKLCH | oklch(44.64% 0.171 266.9) |
| XYZ | xyz(11.2052, 8.3001, 42.5980) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.00
Blue Blue
#2242C7
ΔE00 3.59
Sapphire
#0F52BA
ΔE00 4.35
Sapphire (survey)
#2138AB
ΔE00 4.85
Cobalt (survey)
#1E488F
ΔE00 5.58
Blue (survey)
#0343DF
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48B1 #B1932A
analogous
#2A8BB1 #2A48B1 #502AB1
triadic
#2A48B1 #B12A48 #48B12A
tetradic
#2A48B1 #B12A8B #B1932A #2AB150
square
#2A48B1 #B12A8B #B1932A #2AB150
split-complementary
#2A48B1 #B1502A #8BB12A
monochromatic
#13204E #1E3480 #2A48B1 #4565D3 #778EDF
Accessibility & contrast
On white
7.89
#2A48B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2A48B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48B1
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48B1 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a48b1; /* rgb */ color: rgb(42, 72, 177); /* oklch */ color: oklch(44.6% 0.171 266.9);
Tailwind
colors: {
custom: {
50: '#787ac9',
500: '#2a48b1',
950: '#000000',
},
}SCSS
$custom: #2a48b1; $custom-light: #787ac9; $custom-dark: #000000;
JSON
{
"hex": "#2a48b1",
"rgb": {
"r": 42,
"g": 72,
"b": 177
},
"hsl": {
"h": 226.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.44641,
"c": 0.17073,
"h": 266.9
},
"luminance": 0.08301
}Semantic roles & 50–950 ramp
primary
#2A48B1
secondary
#C6B370
accent
#C143E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82