#2C47BB#2C47BB
#2C47BB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.185 H 267.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47BB |
|---|---|
| RGB | rgb(44, 71, 187) |
| HSL | hsl(229, 62%, 45%) |
| HSV | hsv(229, 76%, 73%) |
| CMYK | cmyk(76.5%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(35.26, 31.68, -63.86) |
| CIE-LCH | lch(35.26, 71.29, 296.38°) |
| OKLab | oklab(45.41% -0.0067 -0.1846) |
| OKLCH | oklch(45.41% 0.185 267.9) |
| XYZ | xyz(12.2585, 8.6284, 48.0235) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.16
Cobalt
#0047AB
ΔE00 4.24
Blue (survey)
#0343DF
ΔE00 4.48
Sapphire (survey)
#2138AB
ΔE00 4.78
Sapphire
#0F52BA
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47BB #BBA02C
analogous
#2C8FBB #2C47BB #582CBB
triadic
#2C47BB #BB2C47 #47BB2C
tetradic
#2C47BB #BB2C8F #BBA02C #2CBB58
square
#2C47BB #BB2C8F #BBA02C #2CBB58
split-complementary
#2C47BB #BB582C #8FBB2C
monochromatic
#152158 #203489 #2C47BB #4F68D6 #8093E1
Accessibility & contrast
On white
7.70
#2C47BB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2C47BB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47BB
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47BB | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c47bb; /* rgb */ color: rgb(44, 71, 187); /* oklch */ color: oklch(45.4% 0.185 267.9);
Tailwind
colors: {
custom: {
50: '#7b7ad0',
500: '#2c47bb',
950: '#000000',
},
}SCSS
$custom: #2c47bb; $custom-light: #7b7ad0; $custom-dark: #000000;
JSON
{
"hex": "#2c47bb",
"rgb": {
"r": 44,
"g": 71,
"b": 187
},
"hsl": {
"h": 228.671,
"s": 61.905,
"l": 45.294
},
"oklch": {
"l": 0.45412,
"c": 0.18474,
"h": 267.9
},
"luminance": 0.0863
}Semantic roles & 50–950 ramp
primary
#2C47BB
secondary
#CABB79
accent
#C643E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82