#3E397A#3E397A

#3E397A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.5% C 0.107 H 283.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3E397A
RGBrgb(62, 57, 122)
HSLhsl(245, 36%, 35%)
HSVhsv(245, 53%, 48%)
CMYKcmyk(49.2%, 53.3%, 0%, 52.2%)
CIE-LABlab(27.72, 20.73, -36.52)
CIE-LCHlch(27.72, 42.00, 299.58°)
OKLaboklab(38.52% 0.0252 -0.104)
OKLCHoklch(38.52% 0.107 283.6)
XYZxyz(6.9615, 5.3552, 19.0754)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E397A #757A39
analogous
#39557A #3E397A #5E397A
triadic
#3E397A #7A3E39 #397A3E
tetradic
#3E397A #7A3955 #757A39 #397A5E
square
#3E397A #7A3955 #757A39 #397A5E
split-complementary
#3E397A #7A5E39 #557A39
monochromatic
#141227 #292650 #3E397A #534CA4 #7771BD

Accessibility & contrast

On white

10.14
#3E397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E397A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E397A#FFFFFF#000000##FFFFFF
##3E397A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#173F79
Tritanopia (blue-blind)
#294754
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e397a;
/* rgb */ color: rgb(62, 57, 122);
/* oklch */ color: oklch(38.5% 0.107 283.6);
Tailwind
colors: {
  custom: {
    50: '#786fa1',
    500: '#3e397a',
    950: '#000000',
  },
}
SCSS
$custom: #3e397a;
$custom-light: #786fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e397a",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 244.615,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38524,
    "c": 0.10698,
    "h": 283.6
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#3E397A
secondary
#A1A669
accent
#CC5BC4
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #3E397A

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

Preview Lab → · Contrast checker → · Palette generator →

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