#2751BF#2751BF
#2751BF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.179 H 264.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2751BF |
|---|---|
| RGB | rgb(39, 81, 191) |
| HSL | hsl(223, 66%, 45%) |
| HSV | hsv(223, 80%, 75%) |
| CMYK | cmyk(79.6%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(37.98, 26.13, -61.78) |
| CIE-LCH | lch(37.98, 67.08, 292.93°) |
| OKLab | oklab(47.49% -0.017 -0.1784) |
| OKLCH | oklch(47.49% 0.179 264.6) |
| XYZ | xyz(13.1798, 10.0762, 50.5304) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.19
Cobalt
#0047AB
ΔE00 4.46
Blue Blue
#2242C7
ΔE00 4.97
Blue (survey)
#0343DF
ΔE00 5.80
Denim
#1560BD
ΔE00 6.18
Warm Blue
#4B57DB
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2751BF #BF9527
analogous
#279DBF #2751BF #4927BF
triadic
#2751BF #BF2751 #51BF27
tetradic
#2751BF #BF279D #BF9527 #27BF49
square
#2751BF #BF279D #BF9527 #27BF49
split-complementary
#2751BF #BF4927 #9DBF27
monochromatic
#122659 #1D3B8C #2751BF #4971DA #7C99E4
Accessibility & contrast
On white
6.96
#2751BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2751BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2751BF
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2751BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2751BF | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2751bf; /* rgb */ color: rgb(39, 81, 191); /* oklch */ color: oklch(47.5% 0.179 264.6);
Tailwind
colors: {
custom: {
50: '#7a81d3',
500: '#2751bf',
950: '#000000',
},
}SCSS
$custom: #2751bf; $custom-light: #7a81d3; $custom-dark: #000000;
JSON
{
"hex": "#2751bf",
"rgb": {
"r": 39,
"g": 81,
"b": 191
},
"hsl": {
"h": 223.421,
"s": 66.087,
"l": 45.098
},
"oklch": {
"l": 0.47488,
"c": 0.17926,
"h": 264.6
},
"luminance": 0.10078
}Semantic roles & 50–950 ramp
primary
#2751BF
secondary
#CCB475
accent
#BA3FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83