#3E327B#3E327B

#3E327B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 37.2% C 0.119 H 286.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3E327B
RGBrgb(62, 50, 123)
HSLhsl(250, 42%, 34%)
HSVhsv(250, 59%, 48%)
CMYKcmyk(49.6%, 59.3%, 0%, 51.8%)
CIE-LABlab(25.97, 25.67, -39.98)
CIE-LCHlch(25.97, 47.51, 302.70°)
OKLaboklab(37.24% 0.0341 -0.1142)
OKLCHoklch(37.24% 0.119 286.6)
XYZxyz(6.7013, 4.7351, 19.2959)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E327B #6F7B32
analogous
#324B7B #3E327B #63327B
triadic
#3E327B #7B3E32 #327B3E
tetradic
#3E327B #7B324B #6F7B32 #327B63
square
#3E327B #7B324B #6F7B32 #327B63
split-complementary
#3E327B #7B6332 #4B7B32
monochromatic
#120F24 #28204F #3E327B #5444A7 #7566C1

Accessibility & contrast

On white

10.79
#3E327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3E327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E327B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E327B#FFFFFF#000000##FFFFFF
##3E327B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7D
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#294251
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e327b;
/* rgb */ color: rgb(62, 50, 123);
/* oklch */ color: oklch(37.2% 0.119 286.6);
Tailwind
colors: {
  custom: {
    50: '#786aa2',
    500: '#3e327b',
    950: '#000000',
  },
}
SCSS
$custom: #3e327b;
$custom-light: #786aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e327b",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 249.863,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.11916,
    "h": 286.6
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#3E327B
secondary
#9DA960
accent
#D256BE
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3E327B

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

Preview Lab → · Contrast checker → · Palette generator →

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