#3E37B2#3E37B2

#3E37B2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.187 H 277.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3E37B2
RGBrgb(62, 55, 178)
HSLhsl(243, 53%, 46%)
HSVhsv(243, 69%, 70%)
CMYKcmyk(65.2%, 69.1%, 0%, 30.2%)
CIE-LABlab(31.74, 40.71, -64.26)
CIE-LCHlch(31.74, 76.07, 302.35°)
OKLaboklab(42.87% 0.0245 -0.1854)
OKLCHoklch(42.87% 0.187 277.5)
XYZxyz(11.3861, 6.9699, 42.8562)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E37B2 #ABB237
analogous
#376DB2 #3E37B2 #7C37B2
triadic
#3E37B2 #B23E37 #37B23E
tetradic
#3E37B2 #B2376D #ABB237 #37B27C
square
#3E37B2 #B2376D #ABB237 #37B27C
split-complementary
#3E37B2 #B27C37 #6DB237
monochromatic
#1D1A54 #2E2983 #3E37B2 #615ACC #8E89DB

Accessibility & contrast

On white

8.77
#3E37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E37B2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E37B2#FFFFFF#000000##FFFFFF
##3E37B21.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e37b2;
/* rgb */ color: rgb(62, 55, 178);
/* oklch */ color: oklch(42.9% 0.187 277.5);
Tailwind
colors: {
  custom: {
    50: '#826fca',
    500: '#3e37b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e37b2;
$custom-light: #826fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e37b2",
  "rgb": {
    "r": 62,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 243.415,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42874,
    "c": 0.18706,
    "h": 277.5
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#3E37B2
secondary
#C1C580
accent
#DC4CD4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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