#2C47BD#2C47BD
#2C47BD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.187 H 267.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47BD |
|---|---|
| RGB | rgb(44, 71, 189) |
| HSL | hsl(229, 62%, 46%) |
| HSV | hsv(229, 77%, 74%) |
| CMYK | cmyk(76.7%, 62.4%, 0%, 25.9%) |
| CIE-LAB | lab(35.43, 32.42, -64.76) |
| CIE-LCH | lch(35.43, 72.42, 296.59°) |
| OKLab | oklab(45.59% -0.0067 -0.1872) |
| OKLCH | oklch(45.59% 0.187 267.9) |
| XYZ | xyz(12.4741, 8.7147, 49.1589) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.96
Blue (survey)
#0343DF
ΔE00 4.22
Cobalt
#0047AB
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47BD #BDA22C
analogous
#2C8FBD #2C47BD #5A2CBD
triadic
#2C47BD #BD2C47 #47BD2C
tetradic
#2C47BD #BD2C8F #BDA22C #2CBD5A
square
#2C47BD #BD2C8F #BDA22C #2CBD5A
split-complementary
#2C47BD #BD5A2C #8FBD2C
monochromatic
#15225A #20348B #2C47BD #5069D6 #8294E2
Accessibility & contrast
On white
7.66
#2C47BD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2C47BD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47BD
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47BD | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c47bd; /* rgb */ color: rgb(44, 71, 189); /* oklch */ color: oklch(45.6% 0.187 267.9);
Tailwind
colors: {
custom: {
50: '#7c7ad2',
500: '#2c47bd',
950: '#000000',
},
}SCSS
$custom: #2c47bd; $custom-light: #7c7ad2; $custom-dark: #000000;
JSON
{
"hex": "#2c47bd",
"rgb": {
"r": 44,
"g": 71,
"b": 189
},
"hsl": {
"h": 228.828,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.45591,
"c": 0.18737,
"h": 267.9
},
"luminance": 0.08716
}Semantic roles & 50–950 ramp
primary
#2C47BD
secondary
#CBBC7A
accent
#C742E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83