#2C47BA#2C47BA
#2C47BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.183 H 267.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47BA |
|---|---|
| RGB | rgb(44, 71, 186) |
| HSL | hsl(229, 62%, 45%) |
| HSV | hsv(229, 76%, 73%) |
| CMYK | cmyk(76.3%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(35.17, 31.31, -63.41) |
| CIE-LCH | lch(35.17, 70.72, 296.28°) |
| OKLab | oklab(45.32% -0.0067 -0.1833) |
| OKLCH | oklch(45.32% 0.183 267.9) |
| XYZ | xyz(12.1518, 8.5858, 47.4616) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.26
Cobalt
#0047AB
ΔE00 4.14
Blue (survey)
#0343DF
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47BA #BA9F2C
analogous
#2C8EBA #2C47BA #582CBA
triadic
#2C47BA #BA2C47 #47BA2C
tetradic
#2C47BA #BA2C8E #BA9F2C #2CBA58
square
#2C47BA #BA2C8E #BA9F2C #2CBA58
split-complementary
#2C47BA #BA582C #8EBA2C
monochromatic
#152157 #203489 #2C47BA #4E68D5 #8092E1
Accessibility & contrast
On white
7.73
#2C47BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2C47BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47BA
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47BA | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c47ba; /* rgb */ color: rgb(44, 71, 186); /* oklch */ color: oklch(45.3% 0.183 267.9);
Tailwind
colors: {
custom: {
50: '#7b7ad0',
500: '#2c47ba',
950: '#000000',
},
}SCSS
$custom: #2c47ba; $custom-light: #7b7ad0; $custom-dark: #000000;
JSON
{
"hex": "#2c47ba",
"rgb": {
"r": 44,
"g": 71,
"b": 186
},
"hsl": {
"h": 228.592,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.45323,
"c": 0.18342,
"h": 267.9
},
"luminance": 0.08587
}Semantic roles & 50–950 ramp
primary
#2C47BA
secondary
#CABA78
accent
#C643E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82