#3E3384#3E3384

#3E3384 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.131 H 284.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3E3384
RGBrgb(62, 51, 132)
HSLhsl(248, 44%, 36%)
HSVhsv(248, 61%, 52%)
CMYKcmyk(53%, 61.4%, 0%, 48.2%)
CIE-LABlab(26.90, 27.96, -44.13)
CIE-LCHlch(26.90, 52.24, 302.36°)
OKLaboklab(38.14% 0.0328 -0.1264)
OKLCHoklch(38.14% 0.131 284.5)
XYZxyz(7.3340, 5.0573, 22.4150)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3384 #798433
analogous
#335084 #3E3384 #663384
triadic
#3E3384 #843E33 #33843E
tetradic
#3E3384 #843350 #798433 #338466
square
#3E3384 #843350 #798433 #338466
split-complementary
#3E3384 #846633 #508433
monochromatic
#15112C #292258 #3E3384 #5344B0 #786BC6

Accessibility & contrast

On white

10.44
#3E3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3384
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3384#FFFFFF#000000##FFFFFF
##3E33841.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#234656
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e3384;
/* rgb */ color: rgb(62, 51, 132);
/* oklch */ color: oklch(38.1% 0.131 284.5);
Tailwind
colors: {
  custom: {
    50: '#7a6ba8',
    500: '#3e3384',
    950: '#000000',
  },
}
SCSS
$custom: #3e3384;
$custom-light: #7a6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3384",
  "rgb": {
    "r": 62,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 248.148,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38141,
    "c": 0.13055,
    "h": 284.5
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#3E3384
secondary
#A4AE65
accent
#D454C3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E3384

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

Preview Lab → · Contrast checker → · Palette generator →

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