#2E47B2#2E47B2

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

Color values

HEX#2E47B2
RGBrgb(46, 71, 178)
HSLhsl(229, 59%, 44%)
HSVhsv(229, 74%, 70%)
CMYKcmyk(74.2%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.60, 28.57, -59.62)
CIE-LCHlch(34.60, 66.11, 295.60°)
OKLaboklab(44.72% -0.0049 -0.1721)
OKLCHoklch(44.72% 0.172 268.4)
XYZxyz(11.4131, 8.3005, 43.1115)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47B2 #B2992E
analogous
#2E89B2 #2E47B2 #572EB2
triadic
#2E47B2 #B22E47 #47B22E
tetradic
#2E47B2 #B22E89 #B2992E #2EB257
square
#2E47B2 #B22E89 #B2992E #2EB257
split-complementary
#2E47B2 #B2572E #89B22E
monochromatic
#152051 #213481 #2E47B2 #4C65D1 #7D8FDD

Accessibility & contrast

On white

7.89
#2E47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47B2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47B2#FFFFFF#000000##FFFFFF
##2E47B21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e47b2;
/* rgb */ color: rgb(46, 71, 178);
/* oklch */ color: oklch(44.7% 0.172 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a7aca',
    500: '#2e47b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e47b2;
$custom-light: #7a7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47b2",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 228.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44716,
    "c": 0.1722,
    "h": 268.4
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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