#2E47AF#2E47AF

#2E47AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.168 H 268.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2E47AF
RGBrgb(46, 71, 175)
HSLhsl(228, 58%, 43%)
HSVhsv(228, 74%, 69%)
CMYKcmyk(73.7%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.36, 27.45, -58.23)
CIE-LCHlch(34.36, 64.38, 295.24°)
OKLaboklab(44.46% -0.0049 -0.1681)
OKLCHoklch(44.46% 0.168 268.3)
XYZxyz(11.1151, 8.1813, 41.5425)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47AF #AF962E
analogous
#2E87AF #2E47AF #552EAF
triadic
#2E47AF #AF2E47 #47AF2E
tetradic
#2E47AF #AF2E87 #AF962E #2EAF55
square
#2E47AF #AF2E87 #AF962E #2EAF55
split-complementary
#2E47AF #AF552E #87AF2E
monochromatic
#15204E #21337F #2E47AF #4B64D0 #7B8EDC

Accessibility & contrast

On white

7.97
#2E47AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E47AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47AF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47AF#FFFFFF#000000##FFFFFF
##2E47AF1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e47af;
/* rgb */ color: rgb(46, 71, 175);
/* oklch */ color: oklch(44.5% 0.168 268.3);
Tailwind
colors: {
  custom: {
    50: '#7979c8',
    500: '#2e47af',
    950: '#000000',
  },
}
SCSS
$custom: #2e47af;
$custom-light: #7979c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47af",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 228.372,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.16814,
    "h": 268.3
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#2E47AF
secondary
#C5B574
accent
#C346E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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