#3E38C6#3E38C6

#3E38C6 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.211 H 275.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3E38C6
RGBrgb(62, 56, 198)
HSLhsl(243, 56%, 50%)
HSVhsv(243, 72%, 78%)
CMYKcmyk(68.7%, 71.7%, 0%, 22.4%)
CIE-LABlab(33.83, 46.66, -72.61)
CIE-LCHlch(33.83, 86.31, 302.72°)
OKLaboklab(44.95% 0.0206 -0.2099)
OKLCHoklch(44.95% 0.211 275.6)
XYZxyz(13.5905, 7.9284, 54.2293)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38C6 #C0C638
analogous
#3879C6 #3E38C6 #8538C6
triadic
#3E38C6 #C63E38 #38C63E
tetradic
#3E38C6 #C63879 #C0C638 #38C685
square
#3E38C6 #C63879 #C0C638 #38C685
split-complementary
#3E38C6 #C68538 #79C638
monochromatic
#201D67 #2F2B96 #3E38C6 #6C67D4 #9A97E2

Accessibility & contrast

On white

8.12
#3E38C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3E38C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38C6
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38C6#FFFFFF#000000##FFFFFF
##3E38C61.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e38c6;
/* rgb */ color: rgb(62, 56, 198);
/* oklch */ color: oklch(44.9% 0.211 275.6);
Tailwind
colors: {
  custom: {
    50: '#8670d9',
    500: '#3e38c6',
    950: '#000000',
  },
}
SCSS
$custom: #3e38c6;
$custom-light: #8670d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38c6",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 242.535,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.21087,
    "h": 275.6
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#3E38C6
secondary
#CACD8D
accent
#DF49D9
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E38C6

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

Preview Lab → · Contrast checker → · Palette generator →

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