#3E337D#3E337D

#3E337D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.121 H 285.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3E337D
RGBrgb(62, 51, 125)
HSLhsl(249, 42%, 35%)
HSVhsv(249, 59%, 49%)
CMYKcmyk(50.4%, 59.2%, 0%, 51%)
CIE-LABlab(26.37, 25.67, -40.60)
CIE-LCHlch(26.37, 48.03, 302.31°)
OKLaboklab(37.58% 0.0329 -0.116)
OKLCHoklch(37.58% 0.121 285.8)
XYZxyz(6.8710, 4.8721, 19.9764)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E337D #727D33
analogous
#334D7D #3E337D #63337D
triadic
#3E337D #7D3E33 #337D3E
tetradic
#3E337D #7D334D #727D33 #337D63
square
#3E337D #7D334D #727D33 #337D63
split-complementary
#3E337D #7D6333 #4D7D33
monochromatic
#131026 #282152 #3E337D #5445A8 #7669C2

Accessibility & contrast

On white

10.64
#3E337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E337D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E337D#FFFFFF#000000##FFFFFF
##3E337D1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407F
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#284453
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e337d;
/* rgb */ color: rgb(62, 51, 125);
/* oklch */ color: oklch(37.6% 0.121 285.8);
Tailwind
colors: {
  custom: {
    50: '#796ba3',
    500: '#3e337d',
    950: '#000000',
  },
}
SCSS
$custom: #3e337d;
$custom-light: #796ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e337d",
  "rgb": {
    "r": 62,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 248.919,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37582,
    "c": 0.12055,
    "h": 285.8
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E337D

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

Preview Lab → · Contrast checker → · Palette generator →

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