#2747AC#2747AC

#2747AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.166 H 266.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2747AC
RGBrgb(39, 71, 172)
HSLhsl(226, 63%, 41%)
HSVhsv(226, 77%, 67%)
CMYKcmyk(77.3%, 58.7%, 0%, 32.5%)
CIE-LABlab(33.81, 25.49, -57.36)
CIE-LCHlch(33.81, 62.77, 293.96°)
OKLaboklab(43.89% -0.0111 -0.1656)
OKLCHoklch(43.89% 0.166 266.2)
XYZxyz(10.5337, 7.9152, 39.9943)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2747AC #AC8C27
analogous
#278AAC #2747AC #4A27AC
triadic
#2747AC #AC2747 #47AC27
tetradic
#2747AC #AC278A #AC8C27 #27AC4A
square
#2747AC #AC278A #AC8C27 #27AC4A
split-complementary
#2747AC #AC4A27 #8AAC27
monochromatic
#101E48 #1C327A #2747AC #3D61D3 #6F8ADE

Accessibility & contrast

On white

8.13
#2747AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2747AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2747AC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2747AC#FFFFFF#000000##FFFFFF
##2747AC1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2747ac;
/* rgb */ color: rgb(39, 71, 172);
/* oklch */ color: oklch(43.9% 0.166 266.2);
Tailwind
colors: {
  custom: {
    50: '#7679c6',
    500: '#2747ac',
    950: '#000000',
  },
}
SCSS
$custom: #2747ac;
$custom-light: #7679c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2747ac",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 225.564,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43886,
    "c": 0.16601,
    "h": 266.2
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#2747AC
secondary
#C5AF6A
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2747AC

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

Preview Lab → · Contrast checker → · Palette generator →

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