#3E397D#3E397D

#3E397D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.7% C 0.111 H 283.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3E397D
RGBrgb(62, 57, 125)
HSLhsl(244, 37%, 36%)
HSVhsv(244, 54%, 49%)
CMYKcmyk(50.4%, 54.4%, 0%, 51%)
CIE-LABlab(27.93, 21.73, -38.08)
CIE-LCHlch(27.93, 43.84, 299.71°)
OKLaboklab(38.74% 0.0255 -0.1085)
OKLCHoklch(38.74% 0.111 283.2)
XYZxyz(7.1503, 5.4307, 20.0695)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E397D #787D39
analogous
#39567D #3E397D #60397D
triadic
#3E397D #7D3E39 #397D3E
tetradic
#3E397D #7D3956 #787D39 #397D60
square
#3E397D #7D3956 #787D39 #397D60
split-complementary
#3E397D #7D6039 #567D39
monochromatic
#141329 #292653 #3E397D #534CA7 #7772BF

Accessibility & contrast

On white

10.07
#3E397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E397D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E397D#FFFFFF#000000##FFFFFF
##3E397D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#12407C
Tritanopia (blue-blind)
#274855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e397d;
/* rgb */ color: rgb(62, 57, 125);
/* oklch */ color: oklch(38.7% 0.111 283.2);
Tailwind
colors: {
  custom: {
    50: '#786fa3',
    500: '#3e397d',
    950: '#000000',
  },
}
SCSS
$custom: #3e397d;
$custom-light: #786fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e397d",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 244.412,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38743,
    "c": 0.11149,
    "h": 283.2
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#3E397D
secondary
#A3A86A
accent
#CD5AC5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3E397D

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

Preview Lab → · Contrast checker → · Palette generator →

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