#2E32D7#2E32D7

#2E32D7 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 45.0% C 0.241 H 270.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E32D7
RGBrgb(46, 50, 215)
HSLhsl(239, 68%, 51%)
HSVhsv(239, 79%, 84%)
CMYKcmyk(78.6%, 76.7%, 0%, 15.7%)
CIE-LABlab(33.49, 54.01, -83.08)
CIE-LCHlch(33.49, 99.09, 303.03°)
OKLaboklab(44.98% 0.002 -0.2406)
OKLCHoklch(44.98% 0.241 270.5)
XYZxyz(14.5289, 7.7667, 65.0102)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32D7 #D7D32E
analogous
#2E86D7 #2E32D7 #7E2ED7
triadic
#2E32D7 #D72E32 #32D72E
tetradic
#2E32D7 #D72E86 #D7D32E #2ED77E
square
#2E32D7 #D72E86 #D7D32E #2ED77E
split-complementary
#2E32D7 #D77E2E #86D72E
monochromatic
#161874 #2023A8 #2E32D7 #6164E1 #9597EB

Accessibility & contrast

On white

8.22
#2E32D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E32D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32D7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32D7#FFFFFF#000000##FFFFFF
##2E32D71.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057DC
Deuteranopia (green-blind)
#0046D4
Tritanopia (blue-blind)
#006483
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e32d7;
/* rgb */ color: rgb(46, 50, 215);
/* oklch */ color: oklch(45.0% 0.241 270.5);
Tailwind
colors: {
  custom: {
    50: '#846de5',
    500: '#2e32d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e32d7;
$custom-light: #846de5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32d7",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 215
  },
  "hsl": {
    "h": 238.58,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.44975,
    "c": 0.24061,
    "h": 270.5
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#2E32D7
secondary
#D6D48B
accent
#E73DEB
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2E32D7

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

Preview Lab → · Contrast checker → · Palette generator →

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