#2751B2#2751B2
#2751B2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.162 H 263.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2751B2 |
|---|---|
| RGB | rgb(39, 81, 178) |
| HSL | hsl(222, 64%, 43%) |
| HSV | hsv(222, 78%, 70%) |
| CMYK | cmyk(78.1%, 54.5%, 0%, 30.2%) |
| CIE-LAB | lab(36.98, 21.14, -55.75) |
| CIE-LCH | lch(36.98, 59.63, 290.76°) |
| OKLab | oklab(46.43% -0.0179 -0.1607) |
| OKLCH | oklch(46.43% 0.162 263.6) |
| XYZ | xyz(11.8121, 9.5292, 43.3276) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.66
Cobalt
#0047AB
ΔE00 3.50
Dusk Blue
#26538D
ΔE00 5.30
Cobalt (survey)
#1E488F
ΔE00 5.38
Denim Blue
#3B5B92
ΔE00 5.44
Denim
#1560BD
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2751B2 #B28827
analogous
#2796B2 #2751B2 #4327B2
triadic
#2751B2 #B22751 #51B227
tetradic
#2751B2 #B22796 #B28827 #27B243
square
#2751B2 #B22796 #B28827 #27B243
split-complementary
#2751B2 #B24327 #96B227
monochromatic
#11234E #1C3A80 #2751B2 #416ED5 #7394E0
Accessibility & contrast
On white
7.23
#2751B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2751B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2751B2
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2751B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2751B2 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2751b2; /* rgb */ color: rgb(39, 81, 178); /* oklch */ color: oklch(46.4% 0.162 263.6);
Tailwind
colors: {
custom: {
50: '#7781ca',
500: '#2751b2',
950: '#000000',
},
}SCSS
$custom: #2751b2; $custom-light: #7781ca; $custom-dark: #000000;
JSON
{
"hex": "#2751b2",
"rgb": {
"r": 39,
"g": 81,
"b": 178
},
"hsl": {
"h": 221.871,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.46425,
"c": 0.16174,
"h": 263.6
},
"luminance": 0.09531
}Semantic roles & 50–950 ramp
primary
#2751B2
secondary
#C8AC6D
accent
#B541E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82