#3E2B9F#3E2B9F

#3E2B9F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.176 H 282.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3E2B9F
RGBrgb(62, 43, 159)
HSLhsl(250, 57%, 40%)
HSVhsv(250, 73%, 62%)
CMYKcmyk(61%, 73%, 0%, 37.6%)
CIE-LABlab(27.45, 41.52, -59.88)
CIE-LCHlch(27.45, 72.86, 304.74°)
OKLaboklab(39.26% 0.0369 -0.1726)
OKLCHoklch(39.26% 0.176 282.1)
XYZxyz(9.1065, 5.2545, 33.3285)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B9F #8C9F2B
analogous
#2B529F #3E2B9F #782B9F
triadic
#3E2B9F #9F3E2B #2B9F3E
tetradic
#3E2B9F #9F2B52 #8C9F2B #2B9F78
square
#3E2B9F #9F2B52 #8C9F2B #2B9F78
split-complementary
#3E2B9F #9F782B #529F2B
monochromatic
#18113F #2B1E6F #3E2B9F #543DCA #7E6DD7

Accessibility & contrast

On white

10.24
#3E2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E2B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B9F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B9F#FFFFFF#000000##FFFFFF
##3E2B9F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2b9f;
/* rgb */ color: rgb(62, 43, 159);
/* oklch */ color: oklch(39.3% 0.176 282.1);
Tailwind
colors: {
  custom: {
    50: '#7f66bc',
    500: '#3e2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b9f;
$custom-light: #7f66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b9f",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 249.828,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.17647,
    "h": 282.1
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#3E2B9F
secondary
#B0BE67
accent
#E147C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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