#3E2BA5#3E2BA5

#3E2BA5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.184 H 281.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3E2BA5
RGBrgb(62, 43, 165)
HSLhsl(249, 59%, 41%)
HSVhsv(249, 74%, 65%)
CMYKcmyk(62.4%, 73.9%, 0%, 35.3%)
CIE-LABlab(28.03, 43.40, -62.56)
CIE-LCHlch(28.03, 76.14, 304.75°)
OKLaboklab(39.85% 0.0356 -0.1804)
OKLCHoklch(39.85% 0.184 281.1)
XYZxyz(9.6399, 5.4678, 36.1374)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BA5 #92A52B
analogous
#2B55A5 #3E2BA5 #7B2BA5
triadic
#3E2BA5 #A53E2B #2BA53E
tetradic
#3E2BA5 #A52B55 #92A52B #2BA57B
square
#3E2BA5 #A52B55 #92A52B #2BA57B
split-complementary
#3E2BA5 #A57B2B #55A52B
monochromatic
#1A1244 #2C1E74 #3E2BA5 #5640CD #8171DA

Accessibility & contrast

On white

10.03
#3E2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BA5
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BA5#FFFFFF#000000##FFFFFF
##3E2BA51.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2ba5;
/* rgb */ color: rgb(62, 43, 165);
/* oklch */ color: oklch(39.9% 0.184 281.1);
Tailwind
colors: {
  custom: {
    50: '#8067c1',
    500: '#3e2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ba5;
$custom-light: #8067c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ba5",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 249.344,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.1839,
    "h": 281.1
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#3E2BA5
secondary
#B4C16B
accent
#E246CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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