#3E339C#3E339C

#3E339C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.163 H 280.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3E339C
RGBrgb(62, 51, 156)
HSLhsl(246, 51%, 41%)
HSVhsv(246, 67%, 61%)
CMYKcmyk(60.3%, 67.3%, 0%, 38.8%)
CIE-LABlab(28.88, 35.87, -55.70)
CIE-LCHlch(28.88, 66.25, 302.78°)
OKLaboklab(40.21% 0.0308 -0.1604)
OKLCHoklch(40.21% 0.163 280.9)
XYZxyz(9.1693, 5.7914, 32.0807)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E339C #919C33
analogous
#335C9C #3E339C #72339C
triadic
#3E339C #9C3E33 #339C3E
tetradic
#3E339C #9C335C #919C33 #339C72
square
#3E339C #9C335C #919C33 #339C72
split-complementary
#3E339C #9C7233 #5C9C33
monochromatic
#191540 #2C246E #3E339C #5649C3 #8077D3

Accessibility & contrast

On white

9.73
#3E339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E339C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E339C#FFFFFF#000000##FFFFFF
##3E339C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e339c;
/* rgb */ color: rgb(62, 51, 156);
/* oklch */ color: oklch(40.2% 0.163 280.9);
Tailwind
colors: {
  custom: {
    50: '#7e6cba',
    500: '#3e339c',
    950: '#000000',
  },
}
SCSS
$custom: #3e339c;
$custom-light: #7e6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e339c",
  "rgb": {
    "r": 62,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 246.286,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.16329,
    "h": 280.9
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#3E339C
secondary
#B3BB70
accent
#DA4ECB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E339C

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

Preview Lab → · Contrast checker → · Palette generator →

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