#3E337B#3E337B

#3E337B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.4% C 0.118 H 286.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3E337B
RGBrgb(62, 51, 123)
HSLhsl(249, 41%, 34%)
HSVhsv(249, 59%, 48%)
CMYKcmyk(49.6%, 58.5%, 0%, 51.8%)
CIE-LABlab(26.22, 25.02, -39.57)
CIE-LCHlch(26.22, 46.82, 302.30°)
OKLaboklab(37.43% 0.0329 -0.113)
OKLCHoklch(37.43% 0.118 286.2)
XYZxyz(6.7445, 4.8215, 19.3103)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E337B #707B33
analogous
#334C7B #3E337B #62337B
triadic
#3E337B #7B3E33 #337B3E
tetradic
#3E337B #7B334C #707B33 #337B62
square
#3E337B #7B334C #707B33 #337B62
split-complementary
#3E337B #7B6233 #4C7B33
monochromatic
#120F24 #282150 #3E337B #5445A6 #7668C0

Accessibility & contrast

On white

10.69
#3E337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E337B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E337B#FFFFFF#000000##FFFFFF
##3E337B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05407D
Deuteranopia (green-blind)
#033C79
Tritanopia (blue-blind)
#294351
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e337b;
/* rgb */ color: rgb(62, 51, 123);
/* oklch */ color: oklch(37.4% 0.118 286.2);
Tailwind
colors: {
  custom: {
    50: '#786ba2',
    500: '#3e337b',
    950: '#000000',
  },
}
SCSS
$custom: #3e337b;
$custom-light: #786ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e337b",
  "rgb": {
    "r": 62,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 249.167,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37427,
    "c": 0.11765,
    "h": 286.2
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#3E337B
secondary
#9DA862
accent
#D157BE
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3E337B

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

Preview Lab → · Contrast checker → · Palette generator →

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