#2E47BF#2E47BF

#2E47BF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.189 H 268.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2E47BF
RGBrgb(46, 71, 191)
HSLhsl(230, 61%, 46%)
HSVhsv(230, 76%, 75%)
CMYKcmyk(75.9%, 62.8%, 0%, 25.1%)
CIE-LABlab(35.69, 33.36, -65.50)
CIE-LCHlch(35.69, 73.51, 296.99°)
OKLaboklab(45.86% -0.005 -0.1894)
OKLCHoklch(45.86% 0.189 268.5)
XYZxyz(12.7807, 8.8475, 50.3143)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47BF #BFA62E
analogous
#2E90BF #2E47BF #5E2EBF
triadic
#2E47BF #BF2E47 #47BF2E
tetradic
#2E47BF #BF2E90 #BFA62E #2EBF5E
square
#2E47BF #BF2E90 #BFA62E #2EBF5E
split-complementary
#2E47BF #BF5E2E #90BF2E
monochromatic
#16225C #22358E #2E47BF #546BD6 #8696E2

Accessibility & contrast

On white

7.58
#2E47BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E47BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47BF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47BF#FFFFFF#000000##FFFFFF
##2E47BF1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e47bf;
/* rgb */ color: rgb(46, 71, 191);
/* oklch */ color: oklch(45.9% 0.189 268.5);
Tailwind
colors: {
  custom: {
    50: '#7d7ad3',
    500: '#2e47bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e47bf;
$custom-light: #7d7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47bf",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 229.655,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.18946,
    "h": 268.5
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#2E47BF
secondary
#CBBE7E
accent
#C944E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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