#2751AA#2751AA

#2751AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.151 H 262.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2751AA
RGBrgb(39, 81, 170)
HSLhsl(221, 63%, 41%)
HSVhsv(221, 77%, 67%)
CMYKcmyk(77.1%, 52.4%, 0%, 33.3%)
CIE-LABlab(36.40, 18.04, -51.96)
CIE-LCHlch(36.40, 55.00, 289.15°)
OKLaboklab(45.8% -0.0187 -0.1496)
OKLCHoklch(45.8% 0.151 262.9)
XYZxyz(11.0322, 9.2172, 39.2201)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751AA #AA8027
analogous
#2792AA #2751AA #3E27AA
triadic
#2751AA #AA2751 #51AA27
tetradic
#2751AA #AA2792 #AA8027 #27AA3E
square
#2751AA #AA2792 #AA8027 #27AA3E
split-complementary
#2751AA #AA3E27 #92AA27
monochromatic
#102246 #1C3978 #2751AA #3C6CD2 #6E92DE

Accessibility & contrast

On white

7.39
#2751AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2751AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2751AA#FFFFFF#000000##FFFFFF
##2751AA1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2751aa;
/* rgb */ color: rgb(39, 81, 170);
/* oklch */ color: oklch(45.8% 0.151 262.9);
Tailwind
colors: {
  custom: {
    50: '#7581c4',
    500: '#2751aa',
    950: '#000000',
  },
}
SCSS
$custom: #2751aa;
$custom-light: #7581c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2751aa",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 220.763,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.15074,
    "h": 262.9
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#2751AA
secondary
#C4A769
accent
#B142E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2751AA

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

Preview Lab → · Contrast checker → · Palette generator →

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