#2E47AC#2E47AC

#2E47AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.164 H 268.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2E47AC
RGBrgb(46, 71, 172)
HSLhsl(228, 58%, 43%)
HSVhsv(228, 73%, 67%)
CMYKcmyk(73.3%, 58.7%, 0%, 32.5%)
CIE-LABlab(34.12, 26.33, -56.84)
CIE-LCHlch(34.12, 62.64, 294.86°)
OKLaboklab(44.21% -0.005 -0.164)
OKLCHoklch(44.21% 0.164 268.3)
XYZxyz(10.8238, 8.0647, 40.0079)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47AC #AC932E
analogous
#2E86AC #2E47AC #542EAC
triadic
#2E47AC #AC2E47 #47AC2E
tetradic
#2E47AC #AC2E86 #AC932E #2EAC54
square
#2E47AC #AC2E86 #AC932E #2EAC54
split-complementary
#2E47AC #AC542E #86AC2E
monochromatic
#141F4B #21337C #2E47AC #4963CE #798DDB

Accessibility & contrast

On white

8.04
#2E47AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E47AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47AC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47AC#FFFFFF#000000##FFFFFF
##2E47AC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e47ac;
/* rgb */ color: rgb(46, 71, 172);
/* oklch */ color: oklch(44.2% 0.164 268.3);
Tailwind
colors: {
  custom: {
    50: '#7879c6',
    500: '#2e47ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e47ac;
$custom-light: #7879c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47ac",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 228.095,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44205,
    "c": 0.16405,
    "h": 268.3
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#2E47AC
secondary
#C3B372
accent
#C247E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E47AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2E47AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva