#2E47B7#2E47B7

#2E47B7 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.179 H 268.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2E47B7
RGBrgb(46, 71, 183)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 72%)
CMYKcmyk(74.9%, 61.2%, 0%, 28.2%)
CIE-LABlab(35.01, 30.42, -61.90)
CIE-LCHlch(35.01, 68.97, 296.17°)
OKLaboklab(45.15% -0.0049 -0.1788)
OKLCHoklch(45.15% 0.179 268.4)
XYZxyz(11.9242, 8.5049, 45.8037)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47B7 #B79E2E
analogous
#2E8CB7 #2E47B7 #592EB7
triadic
#2E47B7 #B72E47 #47B72E
tetradic
#2E47B7 #B72E8C #B79E2E #2EB759
square
#2E47B7 #B72E8C #B79E2E #2EB759
split-complementary
#2E47B7 #B7592E #8CB72E
monochromatic
#152155 #223486 #2E47B7 #4F67D3 #8092DF

Accessibility & contrast

On white

7.77
#2E47B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E47B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47B7
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47B7#FFFFFF#000000##FFFFFF
##2E47B71.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e47b7;
/* rgb */ color: rgb(46, 71, 183);
/* oklch */ color: oklch(45.2% 0.179 268.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ace',
    500: '#2e47b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e47b7;
$custom-light: #7b7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47b7",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 229.051,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45151,
    "c": 0.1789,
    "h": 268.4
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#2E47B7
secondary
#C8BA79
accent
#C645E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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