#2747AB#2747AB
#2747AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.165 H 266.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2747AB |
|---|---|
| RGB | rgb(39, 71, 171) |
| HSL | hsl(225, 63%, 41%) |
| HSV | hsv(225, 77%, 67%) |
| CMYK | cmyk(77.2%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(33.73, 25.11, -56.90) |
| CIE-LCH | lch(33.73, 62.19, 293.81°) |
| OKLab | oklab(43.8% -0.0112 -0.1643) |
| OKLCH | oklch(43.8% 0.165 266.1) |
| XYZ | xyz(10.4380, 7.8769, 39.4905) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.41
Blue Blue
#2242C7
ΔE00 4.32
Sapphire
#0F52BA
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 4.72
Blueberry
#464196
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2747AB #AB8B27
analogous
#2789AB #2747AB #4927AB
triadic
#2747AB #AB2747 #47AB27
tetradic
#2747AB #AB2789 #AB8B27 #27AB49
square
#2747AB #AB2789 #AB8B27 #27AB49
split-complementary
#2747AB #AB4927 #89AB27
monochromatic
#101E47 #1C3279 #2747AB #3D61D3 #6E89DE
Accessibility & contrast
On white
8.15
#2747AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2747AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2747AB
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2747AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2747AB | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2747ab; /* rgb */ color: rgb(39, 71, 171); /* oklch */ color: oklch(43.8% 0.165 266.1);
Tailwind
colors: {
custom: {
50: '#7679c5',
500: '#2747ab',
950: '#000000',
},
}SCSS
$custom: #2747ab; $custom-light: #7679c5; $custom-dark: #000000;
JSON
{
"hex": "#2747ab",
"rgb": {
"r": 39,
"g": 71,
"b": 171
},
"hsl": {
"h": 225.455,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.43801,
"c": 0.16465,
"h": 266.1
},
"luminance": 0.07878
}Semantic roles & 50–950 ramp
primary
#2747AB
secondary
#C5AE69
accent
#BE42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82