#3E2E96#3E2E96

#3E2E96 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.162 H 282.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3E2E96
RGBrgb(62, 46, 150)
HSLhsl(249, 53%, 38%)
HSVhsv(249, 69%, 59%)
CMYKcmyk(58.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(27.24, 36.92, -54.72)
CIE-LCHlch(27.24, 66.01, 304.01°)
OKLaboklab(38.86% 0.036 -0.1575)
OKLCHoklch(38.86% 0.162 282.9)
XYZxyz(8.4669, 5.1796, 29.4018)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E96 #86962E
analogous
#2E5296 #3E2E96 #722E96
triadic
#3E2E96 #963E2E #2E963E
tetradic
#3E2E96 #962E52 #86962E #2E9672
square
#3E2E96 #962E52 #86962E #2E9672
split-complementary
#3E2E96 #96722E #52962E
monochromatic
#171138 #2B2067 #3E2E96 #523EC4 #7C6CD2

Accessibility & contrast

On white

10.31
#3E2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E2E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E96
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E96#FFFFFF#000000##FFFFFF
##3E2E961.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#0D495E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2e96;
/* rgb */ color: rgb(62, 46, 150);
/* oklch */ color: oklch(38.9% 0.162 282.9);
Tailwind
colors: {
  custom: {
    50: '#7d68b6',
    500: '#3e2e96',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e96;
$custom-light: #7d68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e96",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 249.231,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3886,
    "c": 0.16155,
    "h": 282.9
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#3E2E96
secondary
#ACB967
accent
#DC4BC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2E96

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

Preview Lab → · Contrast checker → · Palette generator →

#3E2E96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva