#3E2CA3#3E2CA3

#3E2CA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.180 H 281.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3E2CA3
RGBrgb(62, 44, 163)
HSLhsl(249, 57%, 41%)
HSVhsv(249, 73%, 64%)
CMYKcmyk(62%, 73%, 0%, 36.1%)
CIE-LABlab(28.03, 42.22, -61.35)
CIE-LCHlch(28.03, 74.47, 304.54°)
OKLaboklab(39.8% 0.0353 -0.1769)
OKLCHoklch(39.8% 0.18 281.3)
XYZxyz(9.4961, 5.4692, 35.1985)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CA3 #91A32C
analogous
#2C55A3 #3E2CA3 #7A2CA3
triadic
#3E2CA3 #A33E2C #2CA33E
tetradic
#3E2CA3 #A32C55 #91A32C #2CA37A
square
#3E2CA3 #A32C55 #91A32C #2CA37A
split-complementary
#3E2CA3 #A37A2C #55A32C
monochromatic
#191243 #2C1F73 #3E2CA3 #5641CC #8071D9

Accessibility & contrast

On white

10.03
#3E2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CA3
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CA3#FFFFFF#000000##FFFFFF
##3E2CA31.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2ca3;
/* rgb */ color: rgb(62, 44, 163);
/* oklch */ color: oklch(39.8% 0.180 281.3);
Tailwind
colors: {
  custom: {
    50: '#8067bf',
    500: '#3e2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ca3;
$custom-light: #8067bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ca3",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 249.076,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.18036,
    "h": 281.3
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#3E2CA3
secondary
#B3C06B
accent
#E147C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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