#2747A5#2747A5

#2747A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.156 H 265.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2747A5
RGBrgb(39, 71, 165)
HSLhsl(225, 62%, 40%)
HSVhsv(225, 76%, 65%)
CMYKcmyk(76.4%, 57%, 0%, 35.3%)
CIE-LABlab(33.25, 22.80, -54.08)
CIE-LCHlch(33.25, 58.69, 292.86°)
OKLaboklab(43.3% -0.0114 -0.156)
OKLCHoklch(43.3% 0.156 265.8)
XYZxyz(9.8791, 7.6533, 36.5466)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2747A5 #A58527
analogous
#2786A5 #2747A5 #4627A5
triadic
#2747A5 #A52747 #47A527
tetradic
#2747A5 #A52786 #A58527 #27A546
square
#2747A5 #A52786 #A58527 #27A546
split-complementary
#2747A5 #A54627 #86A527
monochromatic
#101C42 #1B3274 #2747A5 #395FD0 #6A87DC

Accessibility & contrast

On white

8.30
#2747A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2747A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2747A5#FFFFFF#000000##FFFFFF
##2747A51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2747a5;
/* rgb */ color: rgb(39, 71, 165);
/* oklch */ color: oklch(43.3% 0.156 265.8);
Tailwind
colors: {
  custom: {
    50: '#7479c0',
    500: '#2747a5',
    950: '#000000',
  },
}
SCSS
$custom: #2747a5;
$custom-light: #7479c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2747a5",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 224.762,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.15641,
    "h": 265.8
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#2747A5
secondary
#C2AB66
accent
#BC43E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2747A5

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

Preview Lab → · Contrast checker → · Palette generator →

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