#2E47B4#2E47B4

#2E47B4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.175 H 268.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2E47B4
RGBrgb(46, 71, 180)
HSLhsl(229, 59%, 44%)
HSVhsv(229, 74%, 71%)
CMYKcmyk(74.4%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.76, 29.31, -60.54)
CIE-LCHlch(34.76, 67.26, 295.83°)
OKLaboklab(44.89% -0.0049 -0.1748)
OKLCHoklch(44.89% 0.175 268.4)
XYZxyz(11.6153, 8.3814, 44.1768)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47B4 #B49B2E
analogous
#2E8AB4 #2E47B4 #582EB4
triadic
#2E47B4 #B42E47 #47B42E
tetradic
#2E47B4 #B42E8A #B49B2E #2EB458
square
#2E47B4 #B42E8A #B49B2E #2EB458
split-complementary
#2E47B4 #B4582E #8AB42E
monochromatic
#152153 #223483 #2E47B4 #4E66D2 #7E90DE

Accessibility & contrast

On white

7.85
#2E47B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E47B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47B4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47B4#FFFFFF#000000##FFFFFF
##2E47B41.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e47b4;
/* rgb */ color: rgb(46, 71, 180);
/* oklch */ color: oklch(44.9% 0.175 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a7acb',
    500: '#2e47b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e47b4;
$custom-light: #7a7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47b4",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 228.806,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44889,
    "c": 0.17489,
    "h": 268.4
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#2E47B4
secondary
#C7B877
accent
#C545E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E47B4

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

Preview Lab → · Contrast checker → · Palette generator →

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