#3E2BA7#3E2BA7

#3E2BA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.186 H 280.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3E2BA7
RGBrgb(62, 43, 167)
HSLhsl(249, 59%, 41%)
HSVhsv(249, 74%, 65%)
CMYKcmyk(62.9%, 74.3%, 0%, 34.5%)
CIE-LABlab(28.22, 44.02, -63.45)
CIE-LCHlch(28.22, 77.22, 304.75°)
OKLaboklab(40.05% 0.0351 -0.183)
OKLCHoklch(40.05% 0.186 280.9)
XYZxyz(9.8233, 5.5412, 37.1036)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BA7 #94A72B
analogous
#2B56A7 #3E2BA7 #7C2BA7
triadic
#3E2BA7 #A73E2B #2BA73E
tetradic
#3E2BA7 #A72B56 #94A72B #2BA77C
square
#3E2BA7 #A72B56 #94A72B #2BA77C
split-complementary
#3E2BA7 #A77C2B #56A72B
monochromatic
#1A1246 #2C1E76 #3E2BA7 #5741CE #8272DB

Accessibility & contrast

On white

9.96
#3E2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E2BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BA7
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BA7#FFFFFF#000000##FFFFFF
##3E2BA71.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2ba7;
/* rgb */ color: rgb(62, 43, 167);
/* oklch */ color: oklch(40.0% 0.186 280.9);
Tailwind
colors: {
  custom: {
    50: '#8167c2',
    500: '#3e2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ba7;
$custom-light: #8167c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ba7",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 249.194,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.18636,
    "h": 280.9
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#3E2BA7
secondary
#B5C26C
accent
#E246CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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