#2751B5#2751B5
#2751B5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.166 H 263.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2751B5 |
|---|---|
| RGB | rgb(39, 81, 181) |
| HSL | hsl(222, 65%, 43%) |
| HSV | hsv(222, 78%, 71%) |
| CMYK | cmyk(78.5%, 55.2%, 0%, 29%) |
| CIE-LAB | lab(37.21, 22.30, -57.16) |
| CIE-LCH | lch(37.21, 61.35, 291.31°) |
| OKLab | oklab(46.67% -0.0176 -0.1649) |
| OKLCH | oklch(46.67% 0.166 263.9) |
| XYZ | xyz(12.1166, 9.6510, 44.9313) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.63
Cobalt
#0047AB
ΔE00 3.66
Dusk Blue
#26538D
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 5.70
Denim Blue
#3B5B92
ΔE00 5.72
Cobalt (survey)
#1E488F
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2751B5 #B58B27
analogous
#2798B5 #2751B5 #4427B5
triadic
#2751B5 #B52751 #51B527
tetradic
#2751B5 #B52798 #B58B27 #27B544
square
#2751B5 #B52798 #B58B27 #27B544
split-complementary
#2751B5 #B54427 #98B527
monochromatic
#112450 #1C3A83 #2751B5 #436ED6 #7595E1
Accessibility & contrast
On white
7.17
#2751B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2751B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2751B5
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2751B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2751B5 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2751b5; /* rgb */ color: rgb(39, 81, 181); /* oklch */ color: oklch(46.7% 0.166 263.9);
Tailwind
colors: {
custom: {
50: '#7781cc',
500: '#2751b5',
950: '#000000',
},
}SCSS
$custom: #2751b5; $custom-light: #7781cc; $custom-dark: #000000;
JSON
{
"hex": "#2751b5",
"rgb": {
"r": 39,
"g": 81,
"b": 181
},
"hsl": {
"h": 222.254,
"s": 64.545,
"l": 43.137
},
"oklch": {
"l": 0.46666,
"c": 0.16582,
"h": 263.9
},
"luminance": 0.09652
}Semantic roles & 50–950 ramp
primary
#2751B5
secondary
#C9AE6F
accent
#B640E8
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82