#2C47C0#2C47C0
#2C47C0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.191 H 268.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47C0 |
|---|---|
| RGB | rgb(44, 71, 192) |
| HSL | hsl(229, 63%, 46%) |
| HSV | hsv(229, 77%, 75%) |
| CMYK | cmyk(77.1%, 63%, 0%, 24.7%) |
| CIE-LAB | lab(35.69, 33.52, -66.10) |
| CIE-LCH | lch(35.69, 74.11, 296.89°) |
| OKLab | oklab(45.86% -0.0068 -0.1912) |
| OKLCH | oklch(45.86% 0.191 268) |
| XYZ | xyz(12.8031, 8.8463, 50.8917) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.71
Blue (survey)
#0343DF
ΔE00 3.84
Cobalt
#0047AB
ΔE00 4.77
Sapphire (survey)
#2138AB
ΔE00 5.08
Ocean Blue
#4F42B5
ΔE00 5.12
Sapphire
#0F52BA
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47C0 #C0A52C
analogous
#2C91C0 #2C47C0 #5B2CC0
triadic
#2C47C0 #C02C47 #47C02C
tetradic
#2C47C0 #C02C91 #C0A52C #2CC05B
square
#2C47C0 #C02C91 #C0A52C #2CC05B
split-complementary
#2C47C0 #C05B2C #91C02C
monochromatic
#15225C #21358E #2C47C0 #526AD7 #8495E3
Accessibility & contrast
On white
7.58
#2C47C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2C47C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47C0
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47C0 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c47c0; /* rgb */ color: rgb(44, 71, 192); /* oklch */ color: oklch(45.9% 0.191 268.0);
Tailwind
colors: {
custom: {
50: '#7c7ad4',
500: '#2c47c0',
950: '#000000',
},
}SCSS
$custom: #2c47c0; $custom-light: #7c7ad4; $custom-dark: #000000;
JSON
{
"hex": "#2c47c0",
"rgb": {
"r": 44,
"g": 71,
"b": 192
},
"hsl": {
"h": 229.054,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.4586,
"c": 0.19129,
"h": 268
},
"luminance": 0.08848
}Semantic roles & 50–950 ramp
primary
#2C47C0
secondary
#CCBD7C
accent
#C842E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83