#3E2DAB#3E2DAB

#3E2DAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.189 H 280.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3E2DAB
RGBrgb(62, 45, 171)
HSLhsl(248, 58%, 42%)
HSVhsv(248, 74%, 67%)
CMYKcmyk(63.7%, 73.7%, 0%, 32.9%)
CIE-LABlab(29.01, 44.18, -64.57)
CIE-LCHlch(29.01, 78.24, 304.38°)
OKLaboklab(40.72% 0.0328 -0.1863)
OKLCHoklch(40.72% 0.189 280)
XYZxyz(10.2733, 5.8404, 39.1061)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DAB #9AAB2D
analogous
#2D5BAB #3E2DAB #7D2DAB
triadic
#3E2DAB #AB3E2D #2DAB3E
tetradic
#3E2DAB #AB2D5B #9AAB2D #2DAB7D
square
#3E2DAB #AB2D5B #9AAB2D #2DAB7D
split-complementary
#3E2DAB #AB7D2D #5BAB2D
monochromatic
#1B144A #2C207B #3E2DAB #5947CE #8577DB

Accessibility & contrast

On white

9.69
#3E2DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3E2DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DAB
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DAB#FFFFFF#000000##FFFFFF
##3E2DAB1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2dab;
/* rgb */ color: rgb(62, 45, 171);
/* oklch */ color: oklch(40.7% 0.189 280.0);
Tailwind
colors: {
  custom: {
    50: '#8168c5',
    500: '#3e2dab',
    950: '#000000',
  },
}
SCSS
$custom: #3e2dab;
$custom-light: #8168c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2dab",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 248.095,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40721,
    "c": 0.18918,
    "h": 280
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#3E2DAB
secondary
#B8C371
accent
#E246CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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