#3E3571#3E3571

#3E3571 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.1% C 0.100 H 287.4°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3E3571
RGBrgb(62, 53, 113)
HSLhsl(249, 36%, 33%)
HSVhsv(249, 53%, 44%)
CMYKcmyk(45.1%, 53.1%, 0%, 55.7%)
CIE-LABlab(26.05, 20.46, -33.51)
CIE-LCHlch(26.05, 39.26, 301.42°)
OKLaboklab(37.07% 0.0298 -0.0951)
OKLCHoklch(37.07% 0.1 287.4)
XYZxyz(6.2395, 4.7624, 16.2101)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3571 #687135
analogous
#354A71 #3E3571 #5C3571
triadic
#3E3571 #713E35 #35713E
tetradic
#3E3571 #71354A #687135 #35715C
square
#3E3571 #71354A #687135 #35715C
split-complementary
#3E3571 #715C35 #4A7135
monochromatic
#100E1E #272147 #3E3571 #55499B #7468B8

Accessibility & contrast

On white

10.75
#3E3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3E3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3571
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3571#FFFFFF#000000##FFFFFF
##3E35711.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#1B3C70
Tritanopia (blue-blind)
#2F424D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e3571;
/* rgb */ color: rgb(62, 53, 113);
/* oklch */ color: oklch(37.1% 0.100 287.4);
Tailwind
colors: {
  custom: {
    50: '#776c9a',
    500: '#3e3571',
    950: '#000000',
  },
}
SCSS
$custom: #3e3571;
$custom-light: #776c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3571",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 249,
    "s": 36.145,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.09968,
    "h": 287.4
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#3E3571
secondary
#97A161
accent
#CC5CBB
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #3E3571

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

Preview Lab → · Contrast checker → · Palette generator →

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