#2E47AE#2E47AE

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

Color values

HEX#2E47AE
RGBrgb(46, 71, 174)
HSLhsl(228, 58%, 43%)
HSVhsv(228, 74%, 68%)
CMYKcmyk(73.6%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.28, 27.08, -57.77)
CIE-LCHlch(34.28, 63.80, 295.11°)
OKLaboklab(44.37% -0.0049 -0.1667)
OKLCHoklch(44.37% 0.167 268.3)
XYZxyz(11.0173, 8.1422, 41.0272)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47AE #AE952E
analogous
#2E87AE #2E47AE #552EAE
triadic
#2E47AE #AE2E47 #47AE2E
tetradic
#2E47AE #AE2E87 #AE952E #2EAE55
square
#2E47AE #AE2E87 #AE952E #2EAE55
split-complementary
#2E47AE #AE552E #87AE2E
monochromatic
#141F4D #21337E #2E47AE #4A64CF #7A8DDC

Accessibility & contrast

On white

7.99
#2E47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47AE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47AE#FFFFFF#000000##FFFFFF
##2E47AE1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e47ae;
/* rgb */ color: rgb(46, 71, 174);
/* oklch */ color: oklch(44.4% 0.167 268.3);
Tailwind
colors: {
  custom: {
    50: '#7979c7',
    500: '#2e47ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e47ae;
$custom-light: #7979c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47ae",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 228.281,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44374,
    "c": 0.16677,
    "h": 268.3
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

primary
#2E47AE
secondary
#C4B474
accent
#C346E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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