#3E2FA9#3E2FA9

#3E2FA9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.185 H 279.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3E2FA9
RGBrgb(62, 47, 169)
HSLhsl(247, 56%, 42%)
HSVhsv(247, 72%, 66%)
CMYKcmyk(63.3%, 72.2%, 0%, 33.7%)
CIE-LABlab(29.21, 42.43, -63.03)
CIE-LCHlch(29.21, 75.98, 303.95°)
OKLaboklab(40.81% 0.0319 -0.1818)
OKLCHoklch(40.81% 0.185 279.9)
XYZxyz(10.1623, 5.9210, 38.1358)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FA9 #9AA92F
analogous
#2F5DA9 #3E2FA9 #7B2FA9
triadic
#3E2FA9 #A93E2F #2FA93E
tetradic
#3E2FA9 #A92F5D #9AA92F #2FA97B
square
#3E2FA9 #A92F5D #9AA92F #2FA97B
split-complementary
#3E2FA9 #A97B2F #5DA92F
monochromatic
#1B1449 #2C2279 #3E2FA9 #5949CC #8579DA

Accessibility & contrast

On white

9.61
#3E2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3E2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FA9
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FA9#FFFFFF#000000##FFFFFF
##3E2FA91.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e2fa9;
/* rgb */ color: rgb(62, 47, 169);
/* oklch */ color: oklch(40.8% 0.185 279.9);
Tailwind
colors: {
  custom: {
    50: '#8169c4',
    500: '#3e2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fa9;
$custom-light: #8169c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fa9",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 247.377,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.18458,
    "h": 279.9
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#3E2FA9
secondary
#B8C272
accent
#E048CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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