#2E47BD#2E47BD

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

Color values

HEX#2E47BD
RGBrgb(46, 71, 189)
HSLhsl(230, 61%, 46%)
HSVhsv(230, 76%, 74%)
CMYKcmyk(75.7%, 62.4%, 0%, 25.9%)
CIE-LABlab(35.52, 32.63, -64.61)
CIE-LCHlch(35.52, 72.38, 296.79°)
OKLaboklab(45.68% -0.005 -0.1868)
OKLCHoklch(45.68% 0.187 268.5)
XYZxyz(12.5621, 8.7601, 49.1631)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47BD #BDA42E
analogous
#2E8EBD #2E47BD #5C2EBD
triadic
#2E47BD #BD2E47 #47BD2E
tetradic
#2E47BD #BD2E8E #BDA42E #2EBD5C
square
#2E47BD #BD2E8E #BDA42E #2EBD5C
split-complementary
#2E47BD #BD5C2E #8EBD2E
monochromatic
#16225B #22358C #2E47BD #536AD5 #8495E1

Accessibility & contrast

On white

7.63
#2E47BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2E47BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47BD
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47BD#FFFFFF#000000##FFFFFF
##2E47BD1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e47bd;
/* rgb */ color: rgb(46, 71, 189);
/* oklch */ color: oklch(45.7% 0.187 268.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ad2',
    500: '#2e47bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e47bd;
$custom-light: #7c7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47bd",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 229.51,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.18684,
    "h": 268.5
  },
  "luminance": 0.08761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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