#3E337E#3E337E

#3E337E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.122 H 285.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3E337E
RGBrgb(62, 51, 126)
HSLhsl(249, 42%, 35%)
HSVhsv(249, 60%, 49%)
CMYKcmyk(50.8%, 59.5%, 0%, 50.6%)
CIE-LABlab(26.44, 26.00, -41.11)
CIE-LCHlch(26.44, 48.64, 302.31°)
OKLaboklab(37.66% 0.0329 -0.1175)
OKLCHoklch(37.66% 0.122 285.6)
XYZxyz(6.9352, 4.8978, 20.3146)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E337E #737E33
analogous
#334E7E #3E337E #64337E
triadic
#3E337E #7E3E33 #337E3E
tetradic
#3E337E #7E334E #737E33 #337E64
square
#3E337E #7E334E #737E33 #337E64
split-complementary
#3E337E #7E6433 #4E7E33
monochromatic
#131027 #292152 #3E337E #5345AA #7669C2

Accessibility & contrast

On white

10.61
#3E337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E337E
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E337E#FFFFFF#000000##FFFFFF
##3E337E1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#274453
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e337e;
/* rgb */ color: rgb(62, 51, 126);
/* oklch */ color: oklch(37.7% 0.122 285.6);
Tailwind
colors: {
  custom: {
    50: '#796ba4',
    500: '#3e337e',
    950: '#000000',
  },
}
SCSS
$custom: #3e337e;
$custom-light: #796ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e337e",
  "rgb": {
    "r": 62,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 248.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37661,
    "c": 0.12199,
    "h": 285.6
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#3E337E
secondary
#A0AA63
accent
#D256C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3E337E

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

Preview Lab → · Contrast checker → · Palette generator →

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