#2E47A2#2E47A2

#2E47A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.150 H 268.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2E47A2
RGBrgb(46, 71, 162)
HSLhsl(227, 56%, 41%)
HSVhsv(227, 72%, 64%)
CMYKcmyk(71.6%, 56.2%, 0%, 36.5%)
CIE-LABlab(33.34, 22.58, -52.12)
CIE-LCHlch(33.34, 56.80, 293.42°)
OKLaboklab(43.38% -0.0054 -0.1501)
OKLCHoklch(43.38% 0.15 268)
XYZxyz(9.8993, 7.6949, 35.1390)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47A2 #A2892E
analogous
#2E81A2 #2E47A2 #4F2EA2
triadic
#2E47A2 #A22E47 #47A22E
tetradic
#2E47A2 #A22E81 #A2892E #2EA24F
square
#2E47A2 #A22E81 #A2892E #2EA24F
split-complementary
#2E47A2 #A24F2E #81A22E
monochromatic
#131D43 #203272 #2E47A2 #4360CA #7389D7

Accessibility & contrast

On white

8.27
#2E47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E47A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47A2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47A2#FFFFFF#000000##FFFFFF
##2E47A21.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e47a2;
/* rgb */ color: rgb(46, 71, 162);
/* oklch */ color: oklch(43.4% 0.150 268.0);
Tailwind
colors: {
  custom: {
    50: '#7679be',
    500: '#2e47a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e47a2;
$custom-light: #7679be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47a2",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 227.069,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.15019,
    "h": 268
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#2E47A2
secondary
#BFAD6D
accent
#BF49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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