#2751AC#2751AC
#2751AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.154 H 263.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2751AC |
|---|---|
| RGB | rgb(39, 81, 172) |
| HSL | hsl(221, 63%, 41%) |
| HSV | hsv(221, 77%, 67%) |
| CMYK | cmyk(77.3%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(36.54, 18.82, -52.91) |
| CIE-LCH | lch(36.54, 56.16, 289.58°) |
| OKLab | oklab(45.95% -0.0185 -0.1524) |
| OKLCH | oklch(45.95% 0.154 263.1) |
| XYZ | xyz(11.2229, 9.2935, 40.2241) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.00
Cobalt
#0047AB
ΔE00 3.34
Dusk Blue
#26538D
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 4.67
Denim Blue
#3B5B92
ΔE00 4.90
Light Navy Blue
#2E5A88
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2751AC #AC8227
analogous
#2794AC #2751AC #4027AC
triadic
#2751AC #AC2751 #51AC27
tetradic
#2751AC #AC2794 #AC8227 #27AC40
square
#2751AC #AC2794 #AC8227 #27AC40
split-complementary
#2751AC #AC4027 #94AC27
monochromatic
#102248 #1C3A7A #2751AC #3D6CD3 #6F92DE
Accessibility & contrast
On white
7.35
#2751AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2751AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2751AC
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2751AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2751AC | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2751ac; /* rgb */ color: rgb(39, 81, 172); /* oklch */ color: oklch(46.0% 0.154 263.1);
Tailwind
colors: {
custom: {
50: '#7581c5',
500: '#2751ac',
950: '#000000',
},
}SCSS
$custom: #2751ac; $custom-light: #7581c5; $custom-dark: #000000;
JSON
{
"hex": "#2751ac",
"rgb": {
"r": 39,
"g": 81,
"b": 172
},
"hsl": {
"h": 221.053,
"s": 63.033,
"l": 41.373
},
"oklch": {
"l": 0.45951,
"c": 0.15352,
"h": 263.1
},
"luminance": 0.09295
}Semantic roles & 50–950 ramp
primary
#2751AC
secondary
#C5A86A
accent
#B242E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82