#2751BD#2751BD

#2751BD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.177 H 264.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2751BD
RGBrgb(39, 81, 189)
HSLhsl(223, 66%, 45%)
HSVhsv(223, 79%, 74%)
CMYKcmyk(79.4%, 57.1%, 0%, 25.9%)
CIE-LABlab(37.82, 25.37, -60.86)
CIE-LCHlch(37.82, 65.94, 292.63°)
OKLaboklab(47.32% -0.0171 -0.1758)
OKLCHoklch(47.32% 0.177 264.4)
XYZxyz(12.9612, 9.9888, 49.3792)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751BD #BD9327
analogous
#279CBD #2751BD #4827BD
triadic
#2751BD #BD2751 #51BD27
tetradic
#2751BD #BD279C #BD9327 #27BD48
square
#2751BD #BD279C #BD9327 #27BD48
split-complementary
#2751BD #BD4827 #9CBD27
monochromatic
#122658 #1D3B8A #2751BD #4871D9 #7B98E4

Accessibility & contrast

On white

7.00
#2751BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2751BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2751BD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2751BD#FFFFFF#000000##FFFFFF
##2751BD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2751bd;
/* rgb */ color: rgb(39, 81, 189);
/* oklch */ color: oklch(47.3% 0.177 264.4);
Tailwind
colors: {
  custom: {
    50: '#7981d2',
    500: '#2751bd',
    950: '#000000',
  },
}
SCSS
$custom: #2751bd;
$custom-light: #7981d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2751bd",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 223.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.17659,
    "h": 264.4
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#2751BD
secondary
#CCB374
accent
#B93FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2751BD

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

Preview Lab → · Contrast checker → · Palette generator →

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