#2E47CD#2E47CD

#2E47CD is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.1% C 0.207 H 268.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2E47CD
RGBrgb(46, 71, 205)
HSLhsl(231, 63%, 49%)
HSVhsv(231, 78%, 80%)
CMYKcmyk(77.6%, 65.4%, 0%, 19.6%)
CIE-LABlab(36.92, 38.43, -71.65)
CIE-LCHlch(36.92, 81.30, 298.21°)
OKLaboklab(47.14% -0.0056 -0.2074)
OKLCHoklch(47.14% 0.207 268.5)
XYZxyz(14.3956, 9.4935, 58.8195)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47CD #CDB42E
analogous
#2E97CD #2E47CD #652ECD
triadic
#2E47CD #CD2E47 #47CD2E
tetradic
#2E47CD #CD2E97 #CDB42E #2ECD65
square
#2E47CD #CD2E97 #CDB42E #2ECD65
split-complementary
#2E47CD #CD652E #97CD2E
monochromatic
#182469 #23369B #2E47CD #5D71DB #8F9DE6

Accessibility & contrast

On white

7.24
#2E47CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E47CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47CD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47CD#FFFFFF#000000##FFFFFF
##2E47CD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e47cd;
/* rgb */ color: rgb(46, 71, 205);
/* oklch */ color: oklch(47.1% 0.207 268.5);
Tailwind
colors: {
  custom: {
    50: '#807add',
    500: '#2e47cd',
    950: '#000000',
  },
}
SCSS
$custom: #2e47cd;
$custom-light: #807add;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47cd",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 230.566,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4714,
    "c": 0.20744,
    "h": 268.5
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#2E47CD
secondary
#D0C586
accent
#CC41E6
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2E47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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