#2E47A9#2E47A9

#2E47A9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.160 H 268.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2E47A9
RGBrgb(46, 71, 169)
HSLhsl(228, 57%, 42%)
HSVhsv(228, 73%, 66%)
CMYKcmyk(72.8%, 58%, 0%, 33.7%)
CIE-LABlab(33.88, 25.21, -55.44)
CIE-LCHlch(33.88, 60.90, 294.45°)
OKLaboklab(43.95% -0.005 -0.1598)
OKLCHoklch(43.95% 0.16 268.2)
XYZxyz(10.5389, 7.9508, 38.5077)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47A9 #A9902E
analogous
#2E85A9 #2E47A9 #532EA9
triadic
#2E47A9 #A92E47 #47A92E
tetradic
#2E47A9 #A92E85 #A9902E #2EA953
square
#2E47A9 #A92E85 #A9902E #2EA953
split-complementary
#2E47A9 #A9532E #85A92E
monochromatic
#141F49 #213379 #2E47A9 #4762CD #778BDA

Accessibility & contrast

On white

8.11
#2E47A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E47A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47A9
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47A9#FFFFFF#000000##FFFFFF
##2E47A91.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e47a9;
/* rgb */ color: rgb(46, 71, 169);
/* oklch */ color: oklch(44.0% 0.160 268.2);
Tailwind
colors: {
  custom: {
    50: '#7879c3',
    500: '#2e47a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e47a9;
$custom-light: #7879c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47a9",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 227.805,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43953,
    "c": 0.15992,
    "h": 268.2
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#2E47A9
secondary
#C2B271
accent
#C147E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E47A9

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

Preview Lab → · Contrast checker → · Palette generator →

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