#3E2DB6#3E2DB6

#3E2DB6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.203 H 278.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3E2DB6
RGBrgb(62, 45, 182)
HSLhsl(247, 60%, 45%)
HSVhsv(247, 75%, 71%)
CMYKcmyk(65.9%, 75.3%, 0%, 28.6%)
CIE-LABlab(30.10, 47.62, -69.33)
CIE-LCHlch(30.10, 84.11, 304.48°)
OKLaboklab(41.83% 0.0304 -0.2002)
OKLCHoklch(41.83% 0.203 278.6)
XYZxyz(11.3658, 6.2774, 44.8596)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB6 #A5B62D
analogous
#2D61B6 #3E2DB6 #822DB6
triadic
#3E2DB6 #B63E2D #2DB63E
tetradic
#3E2DB6 #B62D61 #A5B62D #2DB682
square
#3E2DB6 #B62D61 #A5B62D #2DB682
split-complementary
#3E2DB6 #B6822D #61B62D
monochromatic
#1D1554 #2D2185 #3E2DB6 #5E4DD3 #8A7EDF

Accessibility & contrast

On white

9.31
#3E2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2DB6
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB6#FFFFFF#000000##FFFFFF
##3E2DB61.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2db6;
/* rgb */ color: rgb(62, 45, 182);
/* oklch */ color: oklch(41.8% 0.203 278.6);
Tailwind
colors: {
  custom: {
    50: '#8369cd',
    500: '#3e2db6',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db6;
$custom-light: #8369cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db6",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 247.445,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41825,
    "c": 0.20251,
    "h": 278.6
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#3E2DB6
secondary
#BEC877
accent
#E344D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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