#3E2DB7#3E2DB7

#3E2DB7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.204 H 278.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3E2DB7
RGBrgb(62, 45, 183)
HSLhsl(247, 61%, 45%)
HSVhsv(247, 75%, 72%)
CMYKcmyk(66.1%, 75.4%, 0%, 28.2%)
CIE-LABlab(30.20, 47.93, -69.76)
CIE-LCHlch(30.20, 84.64, 304.49°)
OKLaboklab(41.93% 0.0301 -0.2015)
OKLCHoklch(41.93% 0.204 278.5)
XYZxyz(11.4695, 6.3188, 45.4058)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB7 #A6B72D
analogous
#2D61B7 #3E2DB7 #832DB7
triadic
#3E2DB7 #B73E2D #2DB73E
tetradic
#3E2DB7 #B72D61 #A6B72D #2DB783
square
#3E2DB7 #B72D61 #A6B72D #2DB783
split-complementary
#3E2DB7 #B7832D #61B72D
monochromatic
#1D1555 #2D2186 #3E2DB7 #5E4ED3 #8B7FDF

Accessibility & contrast

On white

9.28
#3E2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3E2DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DB7
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB7#FFFFFF#000000##FFFFFF
##3E2DB71.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2db7;
/* rgb */ color: rgb(62, 45, 183);
/* oklch */ color: oklch(41.9% 0.204 278.5);
Tailwind
colors: {
  custom: {
    50: '#8469ce',
    500: '#3e2db7',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db7;
$custom-light: #8469ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db7",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 247.391,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.20371,
    "h": 278.5
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#3E2DB7
secondary
#BEC878
accent
#E444D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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