#3E309D#3E309D

#3E309D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.168 H 281.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3E309D
RGBrgb(62, 48, 157)
HSLhsl(248, 53%, 40%)
HSVhsv(248, 69%, 62%)
CMYKcmyk(60.5%, 69.4%, 0%, 38.4%)
CIE-LABlab(28.31, 38.00, -57.25)
CIE-LCHlch(28.31, 68.72, 303.57°)
OKLaboklab(39.82% 0.0332 -0.1649)
OKLCHoklch(39.82% 0.168 281.4)
XYZxyz(9.1275, 5.5717, 32.4862)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E309D #8F9D30
analogous
#30599D #3E309D #74309D
triadic
#3E309D #9D3E30 #309D3E
tetradic
#3E309D #9D3059 #8F9D30 #309D74
square
#3E309D #9D3059 #8F9D30 #309D74
split-complementary
#3E309D #9D7430 #599D30
monochromatic
#19133F #2B226E #3E309D #5544C6 #8073D4

Accessibility & contrast

On white

9.93
#3E309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E309D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E309D#FFFFFF#000000##FFFFFF
##3E309D1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e309d;
/* rgb */ color: rgb(62, 48, 157);
/* oklch */ color: oklch(39.8% 0.168 281.4);
Tailwind
colors: {
  custom: {
    50: '#7e6abb',
    500: '#3e309d',
    950: '#000000',
  },
}
SCSS
$custom: #3e309d;
$custom-light: #7e6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e309d",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 247.706,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.16823,
    "h": 281.4
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#3E309D
secondary
#B2BC6D
accent
#DD4BCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E309D

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

Preview Lab → · Contrast checker → · Palette generator →

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