#3E396B#3E396B

#3E396B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.084 H 286.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3E396B
RGBrgb(62, 57, 107)
HSLhsl(246, 30%, 32%)
HSVhsv(246, 47%, 42%)
CMYKcmyk(42.1%, 46.7%, 0%, 58%)
CIE-LABlab(26.77, 15.87, -28.52)
CIE-LCHlch(26.77, 32.64, 299.10°)
OKLaboklab(37.49% 0.0234 -0.0805)
OKLCHoklch(37.49% 0.084 286.2)
XYZxyz(6.1028, 5.0117, 14.5529)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E396B #666B39
analogous
#394D6B #3E396B #57396B
triadic
#3E396B #6B3E39 #396B3E
tetradic
#3E396B #6B394D #666B39 #396B57
square
#3E396B #6B394D #666B39 #396B57
split-complementary
#3E396B #6B5739 #4D6B39
monochromatic
#100E1B #272443 #3E396B #554E93 #746DB1

Accessibility & contrast

On white

10.49
#3E396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E396B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E396B#FFFFFF#000000##FFFFFF
##3E396B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#263E6A
Tritanopia (blue-blind)
#31434C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e396b;
/* rgb */ color: rgb(62, 57, 107);
/* oklch */ color: oklch(37.5% 0.084 286.2);
Tailwind
colors: {
  custom: {
    50: '#766f95',
    500: '#3e396b',
    950: '#000000',
  },
}
SCSS
$custom: #3e396b;
$custom-light: #766f95;
$custom-dark: #000000;
JSON
{
  "hex": "#3e396b",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 246,
    "s": 30.488,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.08381,
    "h": 286.2
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#3E396B
secondary
#969B65
accent
#C761BD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #3E396B

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

Preview Lab → · Contrast checker → · Palette generator →

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