#3E2BA9#3E2BA9

#3E2BA9 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.189 H 280.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2BA9
RGBrgb(62, 43, 169)
HSLhsl(249, 59%, 42%)
HSVhsv(249, 75%, 66%)
CMYKcmyk(63.3%, 74.6%, 0%, 33.7%)
CIE-LABlab(28.42, 44.65, -64.33)
CIE-LCHlch(28.42, 78.30, 304.76°)
OKLaboklab(40.25% 0.0346 -0.1856)
OKLCHoklch(40.25% 0.189 280.6)
XYZxyz(10.0096, 5.6157, 38.0849)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BA9 #96A92B
analogous
#2B57A9 #3E2BA9 #7D2BA9
triadic
#3E2BA9 #A93E2B #2BA93E
tetradic
#3E2BA9 #A92B57 #96A92B #2BA97D
square
#3E2BA9 #A92B57 #96A92B #2BA97D
split-complementary
#3E2BA9 #A97D2B #57A92B
monochromatic
#1A1247 #2C1F78 #3E2BA9 #5742CF #8373DB

Accessibility & contrast

On white

9.89
#3E2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BA9
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BA9#FFFFFF#000000##FFFFFF
##3E2BA91.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2ba9;
/* rgb */ color: rgb(62, 43, 169);
/* oklch */ color: oklch(40.2% 0.189 280.6);
Tailwind
colors: {
  custom: {
    50: '#8167c4',
    500: '#3e2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ba9;
$custom-light: #8167c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ba9",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 249.048,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.1888,
    "h": 280.6
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#3E2BA9
secondary
#B6C36D
accent
#E345CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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