#2E47C2#2E47C2

#2E47C2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.193 H 268.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2E47C2
RGBrgb(46, 71, 194)
HSLhsl(230, 62%, 47%)
HSVhsv(230, 76%, 76%)
CMYKcmyk(76.3%, 63.4%, 0%, 23.9%)
CIE-LABlab(35.95, 34.46, -66.84)
CIE-LCHlch(35.95, 75.20, 297.27°)
OKLaboklab(46.13% -0.0051 -0.1933)
OKLCHoklch(46.13% 0.193 268.5)
XYZxyz(13.1142, 8.9809, 52.0708)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47C2 #C2A92E
analogous
#2E91C2 #2E47C2 #5F2EC2
triadic
#2E47C2 #C22E47 #47C22E
tetradic
#2E47C2 #C22E91 #C2A92E #2EC25F
square
#2E47C2 #C22E91 #C2A92E #2EC25F
split-complementary
#2E47C2 #C25F2E #91C22E
monochromatic
#17235F #223591 #2E47C2 #566CD7 #8897E3

Accessibility & contrast

On white

7.51
#2E47C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E47C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47C2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47C2#FFFFFF#000000##FFFFFF
##2E47C21.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e47c2;
/* rgb */ color: rgb(46, 71, 194);
/* oklch */ color: oklch(46.1% 0.193 268.5);
Tailwind
colors: {
  custom: {
    50: '#7e7ad5',
    500: '#2e47c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e47c2;
$custom-light: #7e7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47c2",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 229.865,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.19336,
    "h": 268.5
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#2E47C2
secondary
#CCBF7F
accent
#C943E5
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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