#3E2CA7#3E2CA7

#3E2CA7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.185 H 280.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2CA7
RGBrgb(62, 44, 167)
HSLhsl(249, 58%, 41%)
HSVhsv(249, 74%, 65%)
CMYKcmyk(62.9%, 73.7%, 0%, 34.5%)
CIE-LABlab(28.42, 43.48, -63.13)
CIE-LCHlch(28.42, 76.65, 304.56°)
OKLaboklab(40.19% 0.0344 -0.1821)
OKLCHoklch(40.19% 0.185 280.7)
XYZxyz(9.8601, 5.6148, 37.1159)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CA7 #95A72C
analogous
#2C58A7 #3E2CA7 #7C2CA7
triadic
#3E2CA7 #A73E2C #2CA73E
tetradic
#3E2CA7 #A72C58 #95A72C #2CA77C
square
#3E2CA7 #A72C58 #95A72C #2CA77C
split-complementary
#3E2CA7 #A77C2C #58A72C
monochromatic
#1A1246 #2C1F77 #3E2CA7 #5743CD #8273DA

Accessibility & contrast

On white

9.89
#3E2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E2CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CA7
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CA7#FFFFFF#000000##FFFFFF
##3E2CA71.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2ca7;
/* rgb */ color: rgb(62, 44, 167);
/* oklch */ color: oklch(40.2% 0.185 280.7);
Tailwind
colors: {
  custom: {
    50: '#8167c2',
    500: '#3e2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ca7;
$custom-light: #8167c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ca7",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 248.78,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40187,
    "c": 0.18531,
    "h": 280.7
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#3E2CA7
secondary
#B5C26D
accent
#E246CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3E2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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