#2E47AA#2E47AA

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

Color values

HEX#2E47AA
RGBrgb(46, 71, 170)
HSLhsl(228, 57%, 42%)
HSVhsv(228, 73%, 67%)
CMYKcmyk(72.9%, 58.2%, 0%, 33.3%)
CIE-LABlab(33.96, 25.58, -55.90)
CIE-LCHlch(33.96, 61.48, 294.59°)
OKLaboklab(44.04% -0.005 -0.1612)
OKLCHoklch(44.04% 0.161 268.2)
XYZxyz(10.6331, 7.9885, 39.0040)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47AA #AA912E
analogous
#2E85AA #2E47AA #532EAA
triadic
#2E47AA #AA2E47 #47AA2E
tetradic
#2E47AA #AA2E85 #AA912E #2EAA53
square
#2E47AA #AA2E85 #AA912E #2EAA53
split-complementary
#2E47AA #AA532E #85AA2E
monochromatic
#141F4A #21337A #2E47AA #4863CD #788CDA

Accessibility & contrast

On white

8.08
#2E47AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E47AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47AA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47AA#FFFFFF#000000##FFFFFF
##2E47AA1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e47aa;
/* rgb */ color: rgb(46, 71, 170);
/* oklch */ color: oklch(44.0% 0.161 268.2);
Tailwind
colors: {
  custom: {
    50: '#7879c4',
    500: '#2e47aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e47aa;
$custom-light: #7879c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47aa",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 227.903,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.1613,
    "h": 268.2
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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