#3E3587#3E3587

#3E3587 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.132 H 283.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3E3587
RGBrgb(62, 53, 135)
HSLhsl(247, 44%, 37%)
HSVhsv(247, 61%, 53%)
CMYKcmyk(54.1%, 60.7%, 0%, 47.1%)
CIE-LABlab(27.63, 27.67, -44.82)
CIE-LCHlch(27.63, 52.67, 301.68°)
OKLaboklab(38.75% 0.0304 -0.1284)
OKLCHoklch(38.75% 0.132 283.3)
XYZxyz(7.6316, 5.3192, 23.5415)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3587 #7E8735
analogous
#355587 #3E3587 #673587
triadic
#3E3587 #873E35 #35873E
tetradic
#3E3587 #873555 #7E8735 #358767
square
#3E3587 #873555 #7E8735 #358767
split-complementary
#3E3587 #876735 #558735
monochromatic
#16122F #2A245B #3E3587 #5246B3 #7970C7

Accessibility & contrast

On white

10.17
#3E3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E3587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3587
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3587#FFFFFF#000000##FFFFFF
##3E35871.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#204858
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e3587;
/* rgb */ color: rgb(62, 53, 135);
/* oklch */ color: oklch(38.8% 0.132 283.3);
Tailwind
colors: {
  custom: {
    50: '#7a6cab',
    500: '#3e3587',
    950: '#000000',
  },
}
SCSS
$custom: #3e3587;
$custom-light: #7a6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3587",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 246.585,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.13194,
    "h": 283.3
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#3E3587
secondary
#A7AF69
accent
#D354C5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E3587

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

Preview Lab → · Contrast checker → · Palette generator →

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