#3E2DB3#3E2DB3

#3E2DB3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.199 H 279.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3E2DB3
RGBrgb(62, 45, 179)
HSLhsl(248, 60%, 44%)
HSVhsv(248, 75%, 70%)
CMYKcmyk(65.4%, 74.9%, 0%, 29.8%)
CIE-LABlab(29.80, 46.69, -68.05)
CIE-LCHlch(29.80, 82.52, 304.45°)
OKLaboklab(41.52% 0.0311 -0.1965)
OKLCHoklch(41.52% 0.199 279)
XYZxyz(11.0591, 6.1547, 43.2443)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB3 #A2B32D
analogous
#2D5FB3 #3E2DB3 #812DB3
triadic
#3E2DB3 #B33E2D #2DB33E
tetradic
#3E2DB3 #B32D5F #A2B32D #2DB381
square
#3E2DB3 #B32D5F #A2B32D #2DB381
split-complementary
#3E2DB3 #B3812D #5FB32D
monochromatic
#1C1451 #2D2182 #3E2DB3 #5C4BD2 #897CDE

Accessibility & contrast

On white

9.41
#3E2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3E2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DB3
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB3#FFFFFF#000000##FFFFFF
##3E2DB31.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e2db3;
/* rgb */ color: rgb(62, 45, 179);
/* oklch */ color: oklch(41.5% 0.199 279.0);
Tailwind
colors: {
  custom: {
    50: '#8369cb',
    500: '#3e2db3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db3;
$custom-light: #8369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db3",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 247.612,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.19891,
    "h": 279
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#3E2DB3
secondary
#BCC775
accent
#E345CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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