#3E2DA3#3E2DA3

#3E2DA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.179 H 281.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3E2DA3
RGBrgb(62, 45, 163)
HSLhsl(249, 57%, 41%)
HSVhsv(249, 72%, 64%)
CMYKcmyk(62%, 72.4%, 0%, 36.1%)
CIE-LABlab(28.23, 41.66, -61.01)
CIE-LCHlch(28.23, 73.88, 304.32°)
OKLaboklab(39.94% 0.0345 -0.1759)
OKLCHoklch(39.94% 0.179 281.1)
XYZxyz(9.5338, 5.5446, 35.2110)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DA3 #92A32D
analogous
#2D57A3 #3E2DA3 #792DA3
triadic
#3E2DA3 #A33E2D #2DA33E
tetradic
#3E2DA3 #A32D57 #92A32D #2DA379
square
#3E2DA3 #A32D57 #92A32D #2DA379
split-complementary
#3E2DA3 #A3792D #57A32D
monochromatic
#1A1343 #2C2073 #3E2DA3 #5642CB #8172D8

Accessibility & contrast

On white

9.96
#3E2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E2DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DA3
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DA3#FFFFFF#000000##FFFFFF
##3E2DA31.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2da3;
/* rgb */ color: rgb(62, 45, 163);
/* oklch */ color: oklch(39.9% 0.179 281.1);
Tailwind
colors: {
  custom: {
    50: '#8068bf',
    500: '#3e2da3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2da3;
$custom-light: #8068bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2da3",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 248.644,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.17927,
    "h": 281.1
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#3E2DA3
secondary
#B4C06C
accent
#E048CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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