#3E3983#3E3983

#3E3983 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.120 H 282.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3E3983
RGBrgb(62, 57, 131)
HSLhsl(244, 39%, 37%)
HSVhsv(244, 56%, 51%)
CMYKcmyk(52.7%, 56.5%, 0%, 48.6%)
CIE-LABlab(28.35, 23.72, -41.16)
CIE-LCHlch(28.35, 47.51, 299.96°)
OKLaboklab(39.19% 0.0258 -0.1176)
OKLCHoklch(39.19% 0.12 282.4)
XYZxyz(7.5452, 5.5887, 22.1495)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3983 #7E8339
analogous
#395983 #3E3983 #633983
triadic
#3E3983 #833E39 #39833E
tetradic
#3E3983 #833959 #7E8339 #398363
square
#3E3983 #833959 #7E8339 #398363
split-complementary
#3E3983 #836339 #598339
monochromatic
#16142E #2A2658 #3E3983 #524CAE #7974C2

Accessibility & contrast

On white

9.92
#3E3983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E3983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3983
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3983#FFFFFF#000000##FFFFFF
##3E39831.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4586
Deuteranopia (green-blind)
#044081
Tritanopia (blue-blind)
#234A58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e3983;
/* rgb */ color: rgb(62, 57, 131);
/* oklch */ color: oklch(39.2% 0.120 282.4);
Tailwind
colors: {
  custom: {
    50: '#796fa8',
    500: '#3e3983',
    950: '#000000',
  },
}
SCSS
$custom: #3e3983;
$custom-light: #796fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3983",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 244.054,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.12038,
    "h": 282.4
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#3E3983
secondary
#A7AC6C
accent
#CF59C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3E3983

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

Preview Lab → · Contrast checker → · Palette generator →

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