#3E37C6#3E37C6

#3E37C6 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.212 H 275.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3E37C6
RGBrgb(62, 55, 198)
HSLhsl(243, 57%, 50%)
HSVhsv(243, 72%, 78%)
CMYKcmyk(68.7%, 72.2%, 0%, 22.4%)
CIE-LABlab(33.63, 47.22, -72.95)
CIE-LCHlch(33.63, 86.90, 302.92°)
OKLaboklab(44.8% 0.0212 -0.2108)
OKLCHoklch(44.8% 0.212 275.8)
XYZxyz(13.5425, 7.8325, 54.2133)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E37C6 #BFC637
analogous
#3778C6 #3E37C6 #8637C6
triadic
#3E37C6 #C63E37 #37C63E
tetradic
#3E37C6 #C63778 #BFC637 #37C686
square
#3E37C6 #C63778 #BFC637 #37C686
split-complementary
#3E37C6 #C68637 #78C637
monochromatic
#201C66 #2F2A96 #3E37C6 #6B66D4 #9996E2

Accessibility & contrast

On white

8.18
#3E37C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3E37C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E37C6
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E37C6#FFFFFF#000000##FFFFFF
##3E37C61.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e37c6;
/* rgb */ color: rgb(62, 55, 198);
/* oklch */ color: oklch(44.8% 0.212 275.8);
Tailwind
colors: {
  custom: {
    50: '#8670d9',
    500: '#3e37c6',
    950: '#000000',
  },
}
SCSS
$custom: #3e37c6;
$custom-light: #8670d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e37c6",
  "rgb": {
    "r": 62,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 242.937,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44803,
    "c": 0.21189,
    "h": 275.8
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#3E37C6
secondary
#CACD8C
accent
#E048D8
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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