#2751B6#2751B6

#2751B6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.167 H 264.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2751B6
RGBrgb(39, 81, 182)
HSLhsl(222, 65%, 43%)
HSVhsv(222, 79%, 71%)
CMYKcmyk(78.6%, 55.5%, 0%, 28.6%)
CIE-LABlab(37.28, 22.68, -57.63)
CIE-LCHlch(37.28, 61.93, 291.48°)
OKLaboklab(46.75% -0.0176 -0.1662)
OKLCHoklch(46.75% 0.167 264)
XYZxyz(12.2196, 9.6922, 45.4737)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751B6 #B68C27
analogous
#2798B6 #2751B6 #4527B6
triadic
#2751B6 #B62751 #51B627
tetradic
#2751B6 #B62798 #B68C27 #27B645
square
#2751B6 #B62798 #B68C27 #27B645
split-complementary
#2751B6 #B64527 #98B627
monochromatic
#112451 #1C3B84 #2751B6 #436FD7 #7695E2

Accessibility & contrast

On white

7.15
#2751B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2751B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2751B6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2751B6#FFFFFF#000000##FFFFFF
##2751B61.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2751b6;
/* rgb */ color: rgb(39, 81, 182);
/* oklch */ color: oklch(46.7% 0.167 264.0);
Tailwind
colors: {
  custom: {
    50: '#7881cd',
    500: '#2751b6',
    950: '#000000',
  },
}
SCSS
$custom: #2751b6;
$custom-light: #7881cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2751b6",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 182
  },
  "hsl": {
    "h": 222.378,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.16718,
    "h": 264
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#2751B6
secondary
#C9AF70
accent
#B640E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2751B6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2751B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva