#2E47BC#2E47BC

#2E47BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.186 H 268.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2E47BC
RGBrgb(46, 71, 188)
HSLhsl(229, 61%, 46%)
HSVhsv(229, 76%, 74%)
CMYKcmyk(75.5%, 62.2%, 0%, 26.3%)
CIE-LABlab(35.43, 32.26, -64.16)
CIE-LCHlch(35.43, 71.82, 296.69°)
OKLaboklab(45.59% -0.0049 -0.1855)
OKLCHoklch(45.59% 0.186 268.5)
XYZxyz(12.4539, 8.7168, 48.5934)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47BC #BCA32E
analogous
#2E8EBC #2E47BC #5C2EBC
triadic
#2E47BC #BC2E47 #47BC2E
tetradic
#2E47BC #BC2E8E #BCA32E #2EBC5C
square
#2E47BC #BC2E8E #BCA32E #2EBC5C
split-complementary
#2E47BC #BC5C2E #8EBC2E
monochromatic
#16225A #22348B #2E47BC #5269D5 #8494E1

Accessibility & contrast

On white

7.65
#2E47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2E47BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47BC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47BC#FFFFFF#000000##FFFFFF
##2E47BC1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e47bc;
/* rgb */ color: rgb(46, 71, 188);
/* oklch */ color: oklch(45.6% 0.186 268.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ad1',
    500: '#2e47bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e47bc;
$custom-light: #7c7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47bc",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 229.437,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.18553,
    "h": 268.5
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#2E47BC
secondary
#CABC7C
accent
#C844E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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