#3E397F#3E397F

#3E397F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.9% C 0.114 H 282.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#3E397F
RGBrgb(62, 57, 127)
HSLhsl(244, 38%, 36%)
HSVhsv(244, 55%, 50%)
CMYKcmyk(51.2%, 55.1%, 0%, 50.2%)
CIE-LABlab(28.07, 22.39, -39.11)
CIE-LCHlch(28.07, 45.07, 299.79°)
OKLaboklab(38.89% 0.0256 -0.1116)
OKLCHoklch(38.89% 0.114 282.9)
XYZxyz(7.2793, 5.4823, 20.7492)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E397F #7A7F39
analogous
#39577F #3E397F #61397F
triadic
#3E397F #7F3E39 #397F3E
tetradic
#3E397F #7F3957 #7A7F39 #397F61
square
#3E397F #7F3957 #7A7F39 #397F61
split-complementary
#3E397F #7F6139 #577F39
monochromatic
#15132B #292655 #3E397F #534CA9 #7872C0

Accessibility & contrast

On white

10.02
#3E397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E397F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E397F#FFFFFF#000000##FFFFFF
##3E397F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144581
Deuteranopia (green-blind)
#0E407D
Tritanopia (blue-blind)
#264856
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e397f;
/* rgb */ color: rgb(62, 57, 127);
/* oklch */ color: oklch(38.9% 0.114 282.9);
Tailwind
colors: {
  custom: {
    50: '#786fa5',
    500: '#3e397f',
    950: '#000000',
  },
}
SCSS
$custom: #3e397f;
$custom-light: #786fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e397f",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 244.286,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.11447,
    "h": 282.9
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#3E397F
secondary
#A5A96B
accent
#CE5AC6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3E397F

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

Preview Lab → · Contrast checker → · Palette generator →

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