#3E2F96#3E2F96

#3E2F96 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.160 H 282.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3E2F96
RGBrgb(62, 47, 150)
HSLhsl(249, 52%, 39%)
HSVhsv(249, 69%, 59%)
CMYKcmyk(58.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(27.46, 36.33, -54.36)
CIE-LCHlch(27.46, 65.38, 303.75°)
OKLaboklab(39.02% 0.0351 -0.1564)
OKLCHoklch(39.02% 0.16 282.7)
XYZxyz(8.5064, 5.2586, 29.4150)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F96 #87962F
analogous
#2F5396 #3E2F96 #712F96
triadic
#3E2F96 #963E2F #2F963E
tetradic
#3E2F96 #962F53 #87962F #2F9671
square
#3E2F96 #962F53 #87962F #2F9671
split-complementary
#3E2F96 #96712F #53962F
monochromatic
#171239 #2B2067 #3E2F96 #523FC3 #7C6ED2

Accessibility & contrast

On white

10.23
#3E2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E2F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F96
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F96#FFFFFF#000000##FFFFFF
##3E2F961.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2f96;
/* rgb */ color: rgb(62, 47, 150);
/* oklch */ color: oklch(39.0% 0.160 282.7);
Tailwind
colors: {
  custom: {
    50: '#7d69b6',
    500: '#3e2f96',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f96;
$custom-light: #7d69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f96",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 248.738,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39017,
    "c": 0.16033,
    "h": 282.7
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#3E2F96
secondary
#ADB968
accent
#DC4CC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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