#3E337C#3E337C

#3E337C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.5% C 0.119 H 286.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3E337C
RGBrgb(62, 51, 124)
HSLhsl(249, 42%, 34%)
HSVhsv(249, 59%, 49%)
CMYKcmyk(50%, 58.9%, 0%, 51.4%)
CIE-LABlab(26.29, 25.34, -40.09)
CIE-LCHlch(26.29, 47.43, 302.30°)
OKLaboklab(37.5% 0.0329 -0.1145)
OKLCHoklch(37.5% 0.119 286)
XYZxyz(6.8075, 4.8467, 19.6417)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E337C #717C33
analogous
#334D7C #3E337C #63337C
triadic
#3E337C #7C3E33 #337C3E
tetradic
#3E337C #7C334D #717C33 #337C63
square
#3E337C #7C334D #717C33 #337C63
split-complementary
#3E337C #7C6333 #4D7C33
monochromatic
#130F25 #282151 #3E337C #5445A7 #7668C1

Accessibility & contrast

On white

10.66
#3E337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E337C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E337C#FFFFFF#000000##FFFFFF
##3E337C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407E
Deuteranopia (green-blind)
#013C7A
Tritanopia (blue-blind)
#294352
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e337c;
/* rgb */ color: rgb(62, 51, 124);
/* oklch */ color: oklch(37.5% 0.119 286.0);
Tailwind
colors: {
  custom: {
    50: '#786ba2',
    500: '#3e337c',
    950: '#000000',
  },
}
SCSS
$custom: #3e337c;
$custom-light: #786ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e337c",
  "rgb": {
    "r": 62,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 249.041,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37504,
    "c": 0.1191,
    "h": 286
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#3E337C
secondary
#9EA962
accent
#D256BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3E337C

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

Preview Lab → · Contrast checker → · Palette generator →

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