#3E2B9E#3E2B9E

#3E2B9E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.175 H 282.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3E2B9E
RGBrgb(62, 43, 158)
HSLhsl(250, 57%, 39%)
HSVhsv(250, 73%, 62%)
CMYKcmyk(60.8%, 72.8%, 0%, 38%)
CIE-LABlab(27.35, 41.20, -59.43)
CIE-LCHlch(27.35, 72.31, 304.74°)
OKLaboklab(39.17% 0.0371 -0.1713)
OKLCHoklch(39.17% 0.175 282.2)
XYZxyz(9.0201, 5.2199, 32.8733)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B9E #8B9E2B
analogous
#2B529E #3E2B9E #782B9E
triadic
#3E2B9E #9E3E2B #2B9E3E
tetradic
#3E2B9E #9E2B52 #8B9E2B #2B9E78
square
#3E2B9E #9E2B52 #8B9E2B #2B9E78
split-complementary
#3E2B9E #9E782B #529E2B
monochromatic
#18113E #2B1E6E #3E2B9E #543CCA #7E6CD7

Accessibility & contrast

On white

10.27
#3E2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2B9E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B9E#FFFFFF#000000##FFFFFF
##3E2B9E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2b9e;
/* rgb */ color: rgb(62, 43, 158);
/* oklch */ color: oklch(39.2% 0.175 282.2);
Tailwind
colors: {
  custom: {
    50: '#7f66bc',
    500: '#3e2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b9e;
$custom-light: #7f66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b9e",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 249.913,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.17522,
    "h": 282.2
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#3E2B9E
secondary
#B0BE67
accent
#E047C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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