#2751B6#2751B6
#2751B6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.167 H 264.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2751B6 |
|---|---|
| RGB | rgb(39, 81, 182) |
| HSL | hsl(222, 65%, 43%) |
| HSV | hsv(222, 79%, 71%) |
| CMYK | cmyk(78.6%, 55.5%, 0%, 28.6%) |
| CIE-LAB | lab(37.28, 22.68, -57.63) |
| CIE-LCH | lch(37.28, 61.93, 291.48°) |
| OKLab | oklab(46.75% -0.0176 -0.1662) |
| OKLCH | oklch(46.75% 0.167 264) |
| XYZ | xyz(12.2196, 9.6922, 45.4737) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.64
Cobalt
#0047AB
ΔE00 3.72
Blue Blue
#2242C7
ΔE00 5.62
Dusk Blue
#26538D
ΔE00 5.81
Denim Blue
#3B5B92
ΔE00 5.82
Cobalt (survey)
#1E488F
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2751B6 #B68C27
analogous
#2798B6 #2751B6 #4527B6
triadic
#2751B6 #B62751 #51B627
tetradic
#2751B6 #B62798 #B68C27 #27B645
square
#2751B6 #B62798 #B68C27 #27B645
split-complementary
#2751B6 #B64527 #98B627
monochromatic
#112451 #1C3B84 #2751B6 #436FD7 #7695E2
Accessibility & contrast
On white
7.15
#2751B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2751B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2751B6
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2751B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2751B6 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2751b6; /* rgb */ color: rgb(39, 81, 182); /* oklch */ color: oklch(46.7% 0.167 264.0);
Tailwind
colors: {
custom: {
50: '#7881cd',
500: '#2751b6',
950: '#000000',
},
}SCSS
$custom: #2751b6; $custom-light: #7881cd; $custom-dark: #000000;
JSON
{
"hex": "#2751b6",
"rgb": {
"r": 39,
"g": 81,
"b": 182
},
"hsl": {
"h": 222.378,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.46746,
"c": 0.16718,
"h": 264
},
"luminance": 0.09694
}Semantic roles & 50–950 ramp
primary
#2751B6
secondary
#C9AF70
accent
#B640E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82