#2747A4#2747A4

#2747A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.155 H 265.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2747A4
RGBrgb(39, 71, 164)
HSLhsl(225, 62%, 40%)
HSVhsv(225, 76%, 64%)
CMYKcmyk(76.2%, 56.7%, 0%, 35.7%)
CIE-LABlab(33.17, 22.42, -53.60)
CIE-LCHlch(33.17, 58.10, 292.69°)
OKLaboklab(43.21% -0.0115 -0.1546)
OKLCHoklch(43.21% 0.155 265.7)
XYZxyz(9.7884, 7.6171, 36.0691)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2747A4 #A48427
analogous
#2786A4 #2747A4 #4627A4
triadic
#2747A4 #A42747 #47A427
tetradic
#2747A4 #A42786 #A48427 #27A446
square
#2747A4 #A42786 #A48427 #27A446
split-complementary
#2747A4 #A44627 #86A427
monochromatic
#0F1C41 #1B3273 #2747A4 #385FD0 #6A87DC

Accessibility & contrast

On white

8.32
#2747A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2747A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2747A4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2747A4#FFFFFF#000000##FFFFFF
##2747A41.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2747a4;
/* rgb */ color: rgb(39, 71, 164);
/* oklch */ color: oklch(43.2% 0.155 265.7);
Tailwind
colors: {
  custom: {
    50: '#7479c0',
    500: '#2747a4',
    950: '#000000',
  },
}
SCSS
$custom: #2747a4;
$custom-light: #7479c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2747a4",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 224.64,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43212,
    "c": 0.15503,
    "h": 265.7
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#2747A4
secondary
#C2AA65
accent
#BB43E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2747A4

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

Preview Lab → · Contrast checker → · Palette generator →

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