#2E47B1#2E47B1

#2E47B1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.171 H 268.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2E47B1
RGBrgb(46, 71, 177)
HSLhsl(229, 59%, 44%)
HSVhsv(229, 74%, 69%)
CMYKcmyk(74%, 59.9%, 0%, 30.6%)
CIE-LABlab(34.52, 28.20, -59.16)
CIE-LCHlch(34.52, 65.53, 295.48°)
OKLaboklab(44.63% -0.0049 -0.1708)
OKLCHoklch(44.63% 0.171 268.4)
XYZxyz(11.3130, 8.2604, 42.5847)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47B1 #B1982E
analogous
#2E88B1 #2E47B1 #572EB1
triadic
#2E47B1 #B12E47 #47B12E
tetradic
#2E47B1 #B12E88 #B1982E #2EB157
square
#2E47B1 #B12E88 #B1982E #2EB157
split-complementary
#2E47B1 #B1572E #88B12E
monochromatic
#152050 #213480 #2E47B1 #4C65D0 #7C8FDD

Accessibility & contrast

On white

7.92
#2E47B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E47B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47B1
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47B1#FFFFFF#000000##FFFFFF
##2E47B11.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e47b1;
/* rgb */ color: rgb(46, 71, 177);
/* oklch */ color: oklch(44.6% 0.171 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ac9',
    500: '#2e47b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e47b1;
$custom-light: #7a7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47b1",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 228.55,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.17085,
    "h": 268.4
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#2E47B1
secondary
#C6B675
accent
#C446E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E47B1

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

Preview Lab → · Contrast checker → · Palette generator →

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