#2A47B5#2A47B5
#2A47B5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.177 H 267.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47B5 |
|---|---|
| RGB | rgb(42, 71, 181) |
| HSL | hsl(227, 62%, 44%) |
| HSV | hsv(227, 77%, 71%) |
| CMYK | cmyk(76.8%, 60.8%, 0%, 29%) |
| CIE-LAB | lab(34.67, 29.23, -61.29) |
| CIE-LCH | lch(34.67, 67.91, 295.50°) |
| OKLab | oklab(44.79% -0.0084 -0.1771) |
| OKLCH | oklch(44.79% 0.177 267.3) |
| XYZ | xyz(11.5457, 8.3336, 44.7072) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.89
Cobalt
#0047AB
ΔE00 3.47
Sapphire (survey)
#2138AB
ΔE00 4.57
Sapphire
#0F52BA
ΔE00 4.69
Blue (survey)
#0343DF
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47B5 #B5982A
analogous
#2A8CB5 #2A47B5 #522AB5
triadic
#2A47B5 #B52A47 #47B52A
tetradic
#2A47B5 #B52A8C #B5982A #2AB552
square
#2A47B5 #B52A8C #B5982A #2AB552
split-complementary
#2A47B5 #B5522A #8CB52A
monochromatic
#132052 #1E3483 #2A47B5 #4865D4 #798FE0
Accessibility & contrast
On white
7.87
#2A47B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2A47B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47B5
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47B5 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a47b5; /* rgb */ color: rgb(42, 71, 181); /* oklch */ color: oklch(44.8% 0.177 267.3);
Tailwind
colors: {
custom: {
50: '#7979cc',
500: '#2a47b5',
950: '#000000',
},
}SCSS
$custom: #2a47b5; $custom-light: #7979cc; $custom-dark: #000000;
JSON
{
"hex": "#2a47b5",
"rgb": {
"r": 42,
"g": 71,
"b": 181
},
"hsl": {
"h": 227.482,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.44794,
"c": 0.17732,
"h": 267.3
},
"luminance": 0.08335
}Semantic roles & 50–950 ramp
primary
#2A47B5
secondary
#C8B673
accent
#C342E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82