#3E38C5#3E38C5

#3E38C5 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.210 H 275.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3E38C5
RGBrgb(62, 56, 197)
HSLhsl(243, 56%, 50%)
HSVhsv(243, 72%, 77%)
CMYKcmyk(68.5%, 71.6%, 0%, 22.7%)
CIE-LABlab(33.74, 46.34, -72.19)
CIE-LCHlch(33.74, 85.78, 302.70°)
OKLaboklab(44.85% 0.0208 -0.2086)
OKLCHoklch(44.85% 0.21 275.7)
XYZxyz(13.4755, 7.8825, 53.6238)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38C5 #BFC538
analogous
#3879C5 #3E38C5 #8438C5
triadic
#3E38C5 #C53E38 #38C53E
tetradic
#3E38C5 #C53879 #BFC538 #38C584
square
#3E38C5 #C53879 #BFC538 #38C584
split-complementary
#3E38C5 #C58438 #79C538
monochromatic
#201D66 #2F2A95 #3E38C5 #6B67D4 #9996E1

Accessibility & contrast

On white

8.15
#3E38C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3E38C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38C5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38C5#FFFFFF#000000##FFFFFF
##3E38C51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e38c5;
/* rgb */ color: rgb(62, 56, 197);
/* oklch */ color: oklch(44.8% 0.210 275.7);
Tailwind
colors: {
  custom: {
    50: '#8670d8',
    500: '#3e38c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e38c5;
$custom-light: #8670d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38c5",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 242.553,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.20965,
    "h": 275.7
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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