#3E37B8#3E37B8

#3E37B8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.195 H 277.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3E37B8
RGBrgb(62, 55, 184)
HSLhsl(243, 54%, 47%)
HSVhsv(243, 70%, 72%)
CMYKcmyk(66.3%, 70.1%, 0%, 27.8%)
CIE-LABlab(32.29, 42.68, -66.91)
CIE-LCHlch(32.29, 79.37, 302.53°)
OKLaboklab(43.44% 0.0236 -0.1932)
OKLCHoklch(43.44% 0.195 277)
XYZxyz(12.0017, 7.2162, 46.0985)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E37B8 #B1B837
analogous
#3771B8 #3E37B8 #7F37B8
triadic
#3E37B8 #B83E37 #37B83E
tetradic
#3E37B8 #B83771 #B1B837 #37B87F
square
#3E37B8 #B83771 #B1B837 #37B87F
split-complementary
#3E37B8 #B87F37 #71B837
monochromatic
#1E1B5A #2E2989 #3E37B8 #645DCF #918DDD

Accessibility & contrast

On white

8.59
#3E37B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3E37B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E37B8
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E37B8#FFFFFF#000000##FFFFFF
##3E37B81.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e37b8;
/* rgb */ color: rgb(62, 55, 184);
/* oklch */ color: oklch(43.4% 0.195 277.0);
Tailwind
colors: {
  custom: {
    50: '#836fce',
    500: '#3e37b8',
    950: '#000000',
  },
}
SCSS
$custom: #3e37b8;
$custom-light: #836fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e37b8",
  "rgb": {
    "r": 62,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 243.256,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43443,
    "c": 0.19463,
    "h": 277
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#3E37B8
secondary
#C4C784
accent
#DD4AD5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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