#2751B3#2751B3
#2751B3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.163 H 263.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2751B3 |
|---|---|
| RGB | rgb(39, 81, 179) |
| HSL | hsl(222, 64%, 43%) |
| HSV | hsv(222, 78%, 70%) |
| CMYK | cmyk(78.2%, 54.7%, 0%, 29.8%) |
| CIE-LAB | lab(37.06, 21.52, -56.22) |
| CIE-LCH | lch(37.06, 60.20, 290.95°) |
| OKLab | oklab(46.51% -0.0178 -0.1621) |
| OKLCH | oklch(46.51% 0.163 263.7) |
| XYZ | xyz(11.9129, 9.5695, 43.8583) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.64
Cobalt
#0047AB
ΔE00 3.55
Dusk Blue
#26538D
ΔE00 5.43
Cobalt (survey)
#1E488F
ΔE00 5.50
Denim Blue
#3B5B92
ΔE00 5.53
Blue Blue
#2242C7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2751B3 #B38927
analogous
#2797B3 #2751B3 #4327B3
triadic
#2751B3 #B32751 #51B327
tetradic
#2751B3 #B32797 #B38927 #27B343
square
#2751B3 #B32797 #B38927 #27B343
split-complementary
#2751B3 #B34327 #97B327
monochromatic
#11244E #1C3A81 #2751B3 #416ED6 #7494E1
Accessibility & contrast
On white
7.21
#2751B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2751B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2751B3
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2751B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2751B3 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2751b3; /* rgb */ color: rgb(39, 81, 179); /* oklch */ color: oklch(46.5% 0.163 263.7);
Tailwind
colors: {
custom: {
50: '#7781ca',
500: '#2751b3',
950: '#000000',
},
}SCSS
$custom: #2751b3; $custom-light: #7781ca; $custom-dark: #000000;
JSON
{
"hex": "#2751b3",
"rgb": {
"r": 39,
"g": 81,
"b": 179
},
"hsl": {
"h": 222,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.46505,
"c": 0.16311,
"h": 263.7
},
"luminance": 0.09571
}Semantic roles & 50–950 ramp
primary
#2751B3
secondary
#C8AD6E
accent
#B541E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82