#2E32E3#2E32E3

#2E32E3 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.3% C 0.254 H 270.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2E32E3
RGBrgb(46, 50, 227)
HSLhsl(239, 76%, 54%)
HSVhsv(239, 80%, 89%)
CMYKcmyk(79.7%, 78%, 0%, 11%)
CIE-LABlab(34.81, 57.78, -87.78)
CIE-LCHlch(34.81, 105.09, 303.36°)
OKLaboklab(46.29% -0.0002 -0.2542)
OKLCHoklch(46.29% 0.254 270)
XYZxyz(16.1277, 8.4062, 73.4307)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32E3 #E3DF2E
analogous
#2E8CE3 #2E32E3 #842EE3
triadic
#2E32E3 #E32E32 #32E32E
tetradic
#2E32E3 #E32E8C #E3DF2E #2EE384
square
#2E32E3 #E32E8C #E3DF2E #2EE384
split-complementary
#2E32E3 #E3842E #8CE32E
monochromatic
#121485 #191DBB #2E32E3 #6467EA #9A9CF1

Accessibility & contrast

On white

7.83
#2E32E3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E32E3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32E3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32E3#FFFFFF#000000##FFFFFF
##2E32E31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE8
Deuteranopia (green-blind)
#0048E0
Tritanopia (blue-blind)
#00698A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e32e3;
/* rgb */ color: rgb(46, 50, 227);
/* oklch */ color: oklch(46.3% 0.254 270.0);
Tailwind
colors: {
  custom: {
    50: '#876ded',
    500: '#2e32e3',
    950: '#000000',
  },
}
SCSS
$custom: #2e32e3;
$custom-light: #876ded;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32e3",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 227
  },
  "hsl": {
    "h": 238.674,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.25421,
    "h": 270
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#2E32E3
secondary
#DDDB90
accent
#EF35F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2E32E3

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

Preview Lab → · Contrast checker → · Palette generator →

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