#2E47A4#2E47A4

#2E47A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.153 H 268.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E47A4
RGBrgb(46, 71, 164)
HSLhsl(227, 56%, 41%)
HSVhsv(227, 72%, 64%)
CMYKcmyk(72%, 56.7%, 0%, 35.7%)
CIE-LABlab(33.49, 23.33, -53.07)
CIE-LCHlch(33.49, 57.97, 293.73°)
OKLaboklab(43.54% -0.0053 -0.1529)
OKLCHoklch(43.54% 0.153 268)
XYZxyz(10.0785, 7.7666, 36.0827)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47A4 #A48B2E
analogous
#2E82A4 #2E47A4 #502EA4
triadic
#2E47A4 #A42E47 #47A42E
tetradic
#2E47A4 #A42E82 #A48B2E #2EA450
square
#2E47A4 #A42E82 #A48B2E #2EA450
split-complementary
#2E47A4 #A4502E #82A42E
monochromatic
#131E44 #213274 #2E47A4 #4561CB #7489D8

Accessibility & contrast

On white

8.22
#2E47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E47A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47A4
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47A4#FFFFFF#000000##FFFFFF
##2E47A41.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e47a4;
/* rgb */ color: rgb(46, 71, 164);
/* oklch */ color: oklch(43.5% 0.153 268.0);
Tailwind
colors: {
  custom: {
    50: '#7779c0',
    500: '#2e47a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e47a4;
$custom-light: #7779c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47a4",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 227.288,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.15298,
    "h": 268
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#2E47A4
secondary
#C0AE6E
accent
#BF48DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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