#3E2AA7#3E2AA7

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

Color values

HEX#3E2AA7
RGBrgb(62, 42, 167)
HSLhsl(250, 60%, 41%)
HSVhsv(250, 75%, 65%)
CMYKcmyk(62.9%, 74.9%, 0%, 34.5%)
CIE-LABlab(28.03, 44.56, -63.76)
CIE-LCHlch(28.03, 77.79, 304.95°)
OKLaboklab(39.91% 0.0358 -0.1839)
OKLCHoklch(39.91% 0.187 281)
XYZxyz(9.7874, 5.4694, 37.0917)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AA7 #93A72A
analogous
#2A54A7 #3E2AA7 #7C2AA7
triadic
#3E2AA7 #A73E2A #2AA73E
tetradic
#3E2AA7 #A72A54 #93A72A #2AA77C
square
#3E2AA7 #A72A54 #93A72A #2AA77C
split-complementary
#3E2AA7 #A77C2A #54A72A
monochromatic
#1A1145 #2C1E76 #3E2AA7 #563FCF #8170DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E2AA7#FFFFFF#000000##FFFFFF
##3E2AA71.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)
#0046AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2aa7;
/* rgb */ color: rgb(62, 42, 167);
/* oklch */ color: oklch(39.9% 0.187 281.0);
Tailwind
colors: {
  custom: {
    50: '#8166c2',
    500: '#3e2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aa7;
$custom-light: #8166c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aa7",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 249.6,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.18739,
    "h": 281
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#3E2AA7
secondary
#B4C26B
accent
#E345CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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