#2751BD#2751BD
#2751BD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.177 H 264.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2751BD |
|---|---|
| RGB | rgb(39, 81, 189) |
| HSL | hsl(223, 66%, 45%) |
| HSV | hsv(223, 79%, 74%) |
| CMYK | cmyk(79.4%, 57.1%, 0%, 25.9%) |
| CIE-LAB | lab(37.82, 25.37, -60.86) |
| CIE-LCH | lch(37.82, 65.94, 292.63°) |
| OKLab | oklab(47.32% -0.0171 -0.1758) |
| OKLCH | oklch(47.32% 0.177 264.4) |
| XYZ | xyz(12.9612, 9.9888, 49.3792) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.02
Cobalt
#0047AB
ΔE00 4.27
Blue Blue
#2242C7
ΔE00 5.09
Blue (survey)
#0343DF
ΔE00 6.02
Denim
#1560BD
ΔE00 6.11
Warm Blue
#4B57DB
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2751BD #BD9327
analogous
#279CBD #2751BD #4827BD
triadic
#2751BD #BD2751 #51BD27
tetradic
#2751BD #BD279C #BD9327 #27BD48
square
#2751BD #BD279C #BD9327 #27BD48
split-complementary
#2751BD #BD4827 #9CBD27
monochromatic
#122658 #1D3B8A #2751BD #4871D9 #7B98E4
Accessibility & contrast
On white
7.00
#2751BD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#2751BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2751BD
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2751BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2751BD | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2751bd; /* rgb */ color: rgb(39, 81, 189); /* oklch */ color: oklch(47.3% 0.177 264.4);
Tailwind
colors: {
custom: {
50: '#7981d2',
500: '#2751bd',
950: '#000000',
},
}SCSS
$custom: #2751bd; $custom-light: #7981d2; $custom-dark: #000000;
JSON
{
"hex": "#2751bd",
"rgb": {
"r": 39,
"g": 81,
"b": 189
},
"hsl": {
"h": 223.2,
"s": 65.789,
"l": 44.706
},
"oklch": {
"l": 0.47321,
"c": 0.17659,
"h": 264.4
},
"luminance": 0.0999
}Semantic roles & 50–950 ramp
primary
#2751BD
secondary
#CCB374
accent
#B93FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83