#3E2E9C#3E2E9C

#3E2E9C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.169 H 281.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3E2E9C
RGBrgb(62, 46, 156)
HSLhsl(249, 54%, 40%)
HSVhsv(249, 71%, 61%)
CMYKcmyk(60.3%, 70.5%, 0%, 38.8%)
CIE-LABlab(27.79, 38.85, -57.50)
CIE-LCHlch(27.79, 69.39, 304.05°)
OKLaboklab(39.42% 0.035 -0.1656)
OKLCHoklch(39.42% 0.169 281.9)
XYZxyz(8.9625, 5.3778, 32.0118)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E9C #8C9C2E
analogous
#2E559C #3E2E9C #752E9C
triadic
#3E2E9C #9C3E2E #2E9C3E
tetradic
#3E2E9C #9C2E55 #8C9C2E #2E9C75
square
#3E2E9C #9C2E55 #8C9C2E #2E9C75
split-complementary
#3E2E9C #9C752E #559C2E
monochromatic
#18123D #2B206D #3E2E9C #5440C7 #7E70D5

Accessibility & contrast

On white

10.12
#3E2E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3E2E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E9C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E9C#FFFFFF#000000##FFFFFF
##3E2E9C1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2e9c;
/* rgb */ color: rgb(62, 46, 156);
/* oklch */ color: oklch(39.4% 0.169 281.9);
Tailwind
colors: {
  custom: {
    50: '#7e68ba',
    500: '#3e2e9c',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e9c;
$custom-light: #7e68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e9c",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 248.727,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.16929,
    "h": 281.9
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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