#2747AA#2747AA

#2747AA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.163 H 266.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2747AA
RGBrgb(39, 71, 170)
HSLhsl(225, 63%, 41%)
HSVhsv(225, 77%, 67%)
CMYKcmyk(77.1%, 58.2%, 0%, 33.3%)
CIE-LABlab(33.65, 24.72, -56.43)
CIE-LCHlch(33.65, 61.61, 293.66°)
OKLaboklab(43.72% -0.0112 -0.1629)
OKLCHoklch(43.72% 0.163 266.1)
XYZxyz(10.3431, 7.8389, 38.9904)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2747AA #AA8A27
analogous
#2788AA #2747AA #4927AA
triadic
#2747AA #AA2747 #47AA27
tetradic
#2747AA #AA2788 #AA8A27 #27AA49
square
#2747AA #AA2788 #AA8A27 #27AA49
split-complementary
#2747AA #AA4927 #88AA27
monochromatic
#101D46 #1C3278 #2747AA #3C61D2 #6E89DE

Accessibility & contrast

On white

8.18
#2747AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2747AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2747AA#FFFFFF#000000##FFFFFF
##2747AA1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2747aa;
/* rgb */ color: rgb(39, 71, 170);
/* oklch */ color: oklch(43.7% 0.163 266.1);
Tailwind
colors: {
  custom: {
    50: '#7579c4',
    500: '#2747aa',
    950: '#000000',
  },
}
SCSS
$custom: #2747aa;
$custom-light: #7579c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2747aa",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 225.344,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43716,
    "c": 0.16328,
    "h": 266.1
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#2747AA
secondary
#C4AE69
accent
#BE42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2747AA

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

Preview Lab → · Contrast checker → · Palette generator →

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