#3E2AA3#3E2AA3

#3E2AA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.182 H 281.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3E2AA3
RGBrgb(62, 42, 163)
HSLhsl(250, 59%, 40%)
HSVhsv(250, 74%, 64%)
CMYKcmyk(62%, 74.2%, 0%, 36.1%)
CIE-LABlab(27.64, 43.32, -61.99)
CIE-LCHlch(27.64, 75.63, 304.95°)
OKLaboklab(39.52% 0.0367 -0.1788)
OKLCHoklch(39.52% 0.183 281.6)
XYZxyz(9.4234, 5.3237, 35.1742)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AA3 #8FA32A
analogous
#2A53A3 #3E2AA3 #7A2AA3
triadic
#3E2AA3 #A33E2A #2AA33E
tetradic
#3E2AA3 #A32A53 #8FA32A #2AA37A
square
#3E2AA3 #A32A53 #8FA32A #2AA37A
split-complementary
#3E2AA3 #A37A2A #53A32A
monochromatic
#191142 #2B1D72 #3E2AA3 #553DCD #806EDA

Accessibility & contrast

On white

10.17
#3E2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AA3
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AA3#FFFFFF#000000##FFFFFF
##3E2AA31.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2aa3;
/* rgb */ color: rgb(62, 42, 163);
/* oklch */ color: oklch(39.5% 0.182 281.6);
Tailwind
colors: {
  custom: {
    50: '#8066bf',
    500: '#3e2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aa3;
$custom-light: #8066bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aa3",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 249.917,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.1825,
    "h": 281.6
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#3E2AA3
secondary
#B2C068
accent
#E246C8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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