#2751AB#2751AB
#2751AB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.152 H 263.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2751AB |
|---|---|
| RGB | rgb(39, 81, 171) |
| HSL | hsl(221, 63%, 41%) |
| HSV | hsv(221, 77%, 67%) |
| CMYK | cmyk(77.2%, 52.6%, 0%, 32.9%) |
| CIE-LAB | lab(36.47, 18.43, -52.44) |
| CIE-LCH | lch(36.47, 55.58, 289.36°) |
| OKLab | oklab(45.87% -0.0186 -0.151) |
| OKLCH | oklch(45.87% 0.152 263) |
| XYZ | xyz(11.1272, 9.2552, 39.7202) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.08
Cobalt
#0047AB
ΔE00 3.34
Dusk Blue
#26538D
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 4.55
Denim Blue
#3B5B92
ΔE00 4.81
Light Navy Blue
#2E5A88
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2751AB #AB8127
analogous
#2793AB #2751AB #3F27AB
triadic
#2751AB #AB2751 #51AB27
tetradic
#2751AB #AB2793 #AB8127 #27AB3F
square
#2751AB #AB2793 #AB8127 #27AB3F
split-complementary
#2751AB #AB3F27 #93AB27
monochromatic
#102247 #1C3979 #2751AB #3D6CD3 #6E92DE
Accessibility & contrast
On white
7.37
#2751AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2751AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2751AB
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2751AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2751AB | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2751ab; /* rgb */ color: rgb(39, 81, 171); /* oklch */ color: oklch(45.9% 0.152 263.0);
Tailwind
colors: {
custom: {
50: '#7581c5',
500: '#2751ab',
950: '#000000',
},
}SCSS
$custom: #2751ab; $custom-light: #7581c5; $custom-dark: #000000;
JSON
{
"hex": "#2751ab",
"rgb": {
"r": 39,
"g": 81,
"b": 171
},
"hsl": {
"h": 220.909,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.45873,
"c": 0.15213,
"h": 263
},
"luminance": 0.09256
}Semantic roles & 50–950 ramp
primary
#2751AB
secondary
#C5A869
accent
#B242E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82