#3E3C8A#3E3C8A

#3E3C8A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.126 H 280.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#3E3C8A
RGBrgb(62, 60, 138)
HSLhsl(242, 39%, 39%)
HSVhsv(242, 57%, 54%)
CMYKcmyk(55.1%, 56.5%, 0%, 45.9%)
CIE-LABlab(29.64, 24.11, -43.43)
CIE-LCHlch(29.64, 49.67, 299.04°)
OKLaboklab(40.31% 0.0225 -0.1242)
OKLCHoklch(40.31% 0.126 280.3)
XYZxyz(8.1885, 6.0903, 24.7839)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3C8A #888A3C
analogous
#3C618A #3E3C8A #653C8A
triadic
#3E3C8A #8A3E3C #3C8A3E
tetradic
#3E3C8A #8A3C61 #888A3C #3C8A65
square
#3E3C8A #8A3C61 #888A3C #3C8A65
split-complementary
#3E3C8A #8A653C #618A3C
monochromatic
#181735 #2B295F #3E3C8A #5350B3 #7D7BC6

Accessibility & contrast

On white

9.47
#3E3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3E3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3C8A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3C8A#FFFFFF#000000##FFFFFF
##3E3C8A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#1C4E5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e3c8a;
/* rgb */ color: rgb(62, 60, 138);
/* oklch */ color: oklch(40.3% 0.126 280.3);
Tailwind
colors: {
  custom: {
    50: '#7a71ad',
    500: '#3e3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3e3c8a;
$custom-light: #7a71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3c8a",
  "rgb": {
    "r": 62,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 241.538,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40313,
    "c": 0.12626,
    "h": 280.3
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#3E3C8A
secondary
#AEAF73
accent
#CF59CC
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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