#2751AC#2751AC

#2751AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.154 H 263.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2751AC
RGBrgb(39, 81, 172)
HSLhsl(221, 63%, 41%)
HSVhsv(221, 77%, 67%)
CMYKcmyk(77.3%, 52.9%, 0%, 32.5%)
CIE-LABlab(36.54, 18.82, -52.91)
CIE-LCHlch(36.54, 56.16, 289.58°)
OKLaboklab(45.95% -0.0185 -0.1524)
OKLCHoklch(45.95% 0.154 263.1)
XYZxyz(11.2229, 9.2935, 40.2241)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751AC #AC8227
analogous
#2794AC #2751AC #4027AC
triadic
#2751AC #AC2751 #51AC27
tetradic
#2751AC #AC2794 #AC8227 #27AC40
square
#2751AC #AC2794 #AC8227 #27AC40
split-complementary
#2751AC #AC4027 #94AC27
monochromatic
#102248 #1C3A7A #2751AC #3D6CD3 #6F92DE

Accessibility & contrast

On white

7.35
#2751AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2751AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2751AC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2751AC#FFFFFF#000000##FFFFFF
##2751AC1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2751ac;
/* rgb */ color: rgb(39, 81, 172);
/* oklch */ color: oklch(46.0% 0.154 263.1);
Tailwind
colors: {
  custom: {
    50: '#7581c5',
    500: '#2751ac',
    950: '#000000',
  },
}
SCSS
$custom: #2751ac;
$custom-light: #7581c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2751ac",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 221.053,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45951,
    "c": 0.15352,
    "h": 263.1
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#2751AC
secondary
#C5A86A
accent
#B242E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2751AC

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

Preview Lab → · Contrast checker → · Palette generator →

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