#2947BA#2947BA
#2947BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.184 H 267.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2947BA |
|---|---|
| RGB | rgb(41, 71, 186) |
| HSL | hsl(228, 64%, 45%) |
| HSV | hsv(228, 78%, 73%) |
| CMYK | cmyk(78%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(35.05, 31.00, -63.63) |
| CIE-LCH | lch(35.05, 70.77, 295.97°) |
| OKLab | oklab(45.19% -0.0093 -0.184) |
| OKLCH | oklch(45.19% 0.184 267.1) |
| XYZ | xyz(12.0275, 8.5217, 47.4558) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.32
Cobalt
#0047AB
ΔE00 3.88
Blue (survey)
#0343DF
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 4.74
Sapphire
#0F52BA
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2947BA #BA9C29
analogous
#2990BA #2947BA #5329BA
triadic
#2947BA #BA2947 #47BA29
tetradic
#2947BA #BA2990 #BA9C29 #29BA53
square
#2947BA #BA2990 #BA9C29 #29BA53
split-complementary
#2947BA #BA5329 #90BA29
monochromatic
#132156 #1E3488 #2947BA #4967D7 #7B91E2
Accessibility & contrast
On white
7.76
#2947BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2947BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2947BA
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2947BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2947BA | 1.00 | 7.76 | 2.70 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2947ba; /* rgb */ color: rgb(41, 71, 186); /* oklch */ color: oklch(45.2% 0.184 267.1);
Tailwind
colors: {
custom: {
50: '#7a7ad0',
500: '#2947ba',
950: '#000000',
},
}SCSS
$custom: #2947ba; $custom-light: #7a7ad0; $custom-dark: #000000;
JSON
{
"hex": "#2947ba",
"rgb": {
"r": 41,
"g": 71,
"b": 186
},
"hsl": {
"h": 227.586,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.45193,
"c": 0.18421,
"h": 267.1
},
"luminance": 0.08523
}Semantic roles & 50–950 ramp
primary
#2947BA
secondary
#CAB875
accent
#C541E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82