#2751BB#2751BB

#2751BB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.174 H 264.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2751BB
RGBrgb(39, 81, 187)
HSLhsl(223, 65%, 44%)
HSVhsv(223, 79%, 73%)
CMYKcmyk(79.1%, 56.7%, 0%, 26.7%)
CIE-LABlab(37.67, 24.60, -59.94)
CIE-LCHlch(37.67, 64.79, 292.31°)
OKLaboklab(47.16% -0.0172 -0.1731)
OKLCHoklch(47.16% 0.174 264.3)
XYZxyz(12.7456, 9.9026, 48.2437)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751BB #BB9127
analogous
#279BBB #2751BB #4727BB
triadic
#2751BB #BB2751 #51BB27
tetradic
#2751BB #BB279B #BB9127 #27BB47
square
#2751BB #BB279B #BB9127 #27BB47
split-complementary
#2751BB #BB4727 #9BBB27
monochromatic
#122556 #1C3B88 #2751BB #4770D9 #7997E3

Accessibility & contrast

On white

7.05
#2751BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2751BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2751BB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2751BB#FFFFFF#000000##FFFFFF
##2751BB1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2751bb;
/* rgb */ color: rgb(39, 81, 187);
/* oklch */ color: oklch(47.2% 0.174 264.3);
Tailwind
colors: {
  custom: {
    50: '#7981d0',
    500: '#2751bb',
    950: '#000000',
  },
}
SCSS
$custom: #2751bb;
$custom-light: #7981d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2751bb",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 222.973,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47155,
    "c": 0.17392,
    "h": 264.3
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#2751BB
secondary
#CBB273
accent
#B83FE8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2751BB

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

Preview Lab → · Contrast checker → · Palette generator →

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