#3E2E9B#3E2E9B

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

Color values

HEX#3E2E9B
RGBrgb(62, 46, 155)
HSLhsl(249, 54%, 39%)
HSVhsv(249, 70%, 61%)
CMYKcmyk(60%, 70.3%, 0%, 39.2%)
CIE-LABlab(27.69, 38.53, -57.04)
CIE-LCHlch(27.69, 68.83, 304.04°)
OKLaboklab(39.32% 0.0352 -0.1643)
OKLCHoklch(39.32% 0.168 282.1)
XYZxyz(8.8782, 5.3441, 31.5677)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E9B #8B9B2E
analogous
#2E559B #3E2E9B #752E9B
triadic
#3E2E9B #9B3E2E #2E9B3E
tetradic
#3E2E9B #9B2E55 #8B9B2E #2E9B75
square
#3E2E9B #9B2E55 #8B9B2E #2E9B75
split-complementary
#3E2E9B #9B752E #559B2E
monochromatic
#18123D #2B206C #3E2E9B #5440C6 #7E6FD4

Accessibility & contrast

On white

10.15
#3E2E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E2E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E9B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E9B#FFFFFF#000000##FFFFFF
##3E2E9B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2e9b;
/* rgb */ color: rgb(62, 46, 155);
/* oklch */ color: oklch(39.3% 0.168 282.1);
Tailwind
colors: {
  custom: {
    50: '#7e68b9',
    500: '#3e2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e9b;
$custom-light: #7e68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e9b",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 248.807,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.16801,
    "h": 282.1
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#3E2E9B
secondary
#B0BC69
accent
#DE4AC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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