#2747A8#2747A8

#2747A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.161 H 266.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2747A8
RGBrgb(39, 71, 168)
HSLhsl(225, 62%, 41%)
HSVhsv(225, 77%, 66%)
CMYKcmyk(76.8%, 57.7%, 0%, 34.1%)
CIE-LABlab(33.49, 23.96, -55.49)
CIE-LCHlch(33.49, 60.44, 293.35°)
OKLaboklab(43.55% -0.0113 -0.1601)
OKLCHoklch(43.55% 0.161 266)
XYZxyz(10.1553, 7.7638, 38.0015)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2747A8 #A88827
analogous
#2787A8 #2747A8 #4727A8
triadic
#2747A8 #A82747 #47A827
tetradic
#2747A8 #A82787 #A88827 #27A847
square
#2747A8 #A82787 #A88827 #27A847
split-complementary
#2747A8 #A84727 #87A827
monochromatic
#101D45 #1B3276 #2747A8 #3B60D1 #6C88DD

Accessibility & contrast

On white

8.23
#2747A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2747A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2747A8#FFFFFF#000000##FFFFFF
##2747A81.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2747a8;
/* rgb */ color: rgb(39, 71, 168);
/* oklch */ color: oklch(43.5% 0.161 266.0);
Tailwind
colors: {
  custom: {
    50: '#7579c3',
    500: '#2747a8',
    950: '#000000',
  },
}
SCSS
$custom: #2747a8;
$custom-light: #7579c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2747a8",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 225.116,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.16055,
    "h": 266
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#2747A8
secondary
#C3AD67
accent
#BD42E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2747A8

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

Preview Lab → · Contrast checker → · Palette generator →

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