#3E37B7#3E37B7

#3E37B7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.193 H 277.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3E37B7
RGBrgb(62, 55, 183)
HSLhsl(243, 54%, 47%)
HSVhsv(243, 70%, 72%)
CMYKcmyk(66.1%, 69.9%, 0%, 28.2%)
CIE-LABlab(32.20, 42.35, -66.47)
CIE-LCHlch(32.20, 78.82, 302.50°)
OKLaboklab(43.35% 0.0238 -0.1919)
OKLCHoklch(43.35% 0.193 277.1)
XYZxyz(11.8973, 7.1744, 45.5484)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E37B7 #B0B737
analogous
#3770B7 #3E37B7 #7E37B7
triadic
#3E37B7 #B73E37 #37B73E
tetradic
#3E37B7 #B73770 #B0B737 #37B77E
square
#3E37B7 #B73770 #B0B737 #37B77E
split-complementary
#3E37B7 #B77E37 #70B737
monochromatic
#1E1B59 #2E2988 #3E37B7 #635DCE #908CDC

Accessibility & contrast

On white

8.62
#3E37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3E37B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E37B7
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E37B7#FFFFFF#000000##FFFFFF
##3E37B71.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e37b7;
/* rgb */ color: rgb(62, 55, 183);
/* oklch */ color: oklch(43.3% 0.193 277.1);
Tailwind
colors: {
  custom: {
    50: '#836fce',
    500: '#3e37b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e37b7;
$custom-light: #836fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e37b7",
  "rgb": {
    "r": 62,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 243.281,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43347,
    "c": 0.19338,
    "h": 277.1
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#3E37B7
secondary
#C3C783
accent
#DD4BD5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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