#2747BA#2747BA
#2747BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.185 H 266.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2747BA |
|---|---|
| RGB | rgb(39, 71, 186) |
| HSL | hsl(227, 65%, 44%) |
| HSV | hsv(227, 79%, 73%) |
| CMYK | cmyk(79%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(34.97, 30.80, -63.76) |
| CIE-LCH | lch(34.97, 70.81, 295.78°) |
| OKLab | oklab(45.11% -0.0109 -0.1844) |
| OKLCH | oklch(45.11% 0.185 266.6) |
| XYZ | xyz(11.9498, 8.4816, 47.4522) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.37
Cobalt
#0047AB
ΔE00 3.72
Sapphire
#0F52BA
ΔE00 4.64
Blue (survey)
#0343DF
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2747BA #BA9A27
analogous
#2791BA #2747BA #5127BA
triadic
#2747BA #BA2747 #47BA27
tetradic
#2747BA #BA2791 #BA9A27 #27BA51
square
#2747BA #BA2791 #BA9A27 #27BA51
split-complementary
#2747BA #BA5127 #91BA27
monochromatic
#122055 #1C3487 #2747BA #4666D8 #7990E3
Accessibility & contrast
On white
7.79
#2747BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2747BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2747BA
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2747BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2747BA | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 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: #2747ba; /* rgb */ color: rgb(39, 71, 186); /* oklch */ color: oklch(45.1% 0.185 266.6);
Tailwind
colors: {
custom: {
50: '#7979d0',
500: '#2747ba',
950: '#000000',
},
}SCSS
$custom: #2747ba; $custom-light: #7979d0; $custom-dark: #000000;
JSON
{
"hex": "#2747ba",
"rgb": {
"r": 39,
"g": 71,
"b": 186
},
"hsl": {
"h": 226.939,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.45112,
"c": 0.18473,
"h": 266.6
},
"luminance": 0.08483
}Semantic roles & 50–950 ramp
primary
#2747BA
secondary
#CBB772
accent
#C440E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82