#2A47B3#2A47B3
#2A47B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.175 H 267.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47B3 |
|---|---|
| RGB | rgb(42, 71, 179) |
| HSL | hsl(227, 62%, 43%) |
| HSV | hsv(227, 77%, 70%) |
| CMYK | cmyk(76.5%, 60.3%, 0%, 29.8%) |
| CIE-LAB | lab(34.50, 28.48, -60.38) |
| CIE-LCH | lch(34.50, 66.76, 295.25°) |
| OKLab | oklab(44.62% -0.0084 -0.1744) |
| OKLCH | oklch(44.62% 0.175 267.2) |
| XYZ | xyz(11.3419, 8.2521, 43.6342) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.14
Cobalt
#0047AB
ΔE00 3.29
Sapphire (survey)
#2138AB
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 4.67
Blue (survey)
#0343DF
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47B3 #B3962A
analogous
#2A8BB3 #2A47B3 #512AB3
triadic
#2A47B3 #B32A47 #47B32A
tetradic
#2A47B3 #B32A8B #B3962A #2AB351
square
#2A47B3 #B32A8B #B3962A #2AB351
split-complementary
#2A47B3 #B3512A #8BB32A
monochromatic
#132050 #1E3381 #2A47B3 #4664D4 #788EDF
Accessibility & contrast
On white
7.92
#2A47B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2A47B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47B3
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47B3 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a47b3; /* rgb */ color: rgb(42, 71, 179); /* oklch */ color: oklch(44.6% 0.175 267.2);
Tailwind
colors: {
custom: {
50: '#7979cb',
500: '#2a47b3',
950: '#000000',
},
}SCSS
$custom: #2a47b3; $custom-light: #7979cb; $custom-dark: #000000;
JSON
{
"hex": "#2a47b3",
"rgb": {
"r": 42,
"g": 71,
"b": 179
},
"hsl": {
"h": 227.299,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.44619,
"c": 0.17464,
"h": 267.2
},
"luminance": 0.08253
}Semantic roles & 50–950 ramp
primary
#2A47B3
secondary
#C7B572
accent
#C343E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82