#3E2BA4#3E2BA4

#3E2BA4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.183 H 281.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3E2BA4
RGBrgb(62, 43, 164)
HSLhsl(249, 58%, 41%)
HSVhsv(249, 74%, 64%)
CMYKcmyk(62.2%, 73.8%, 0%, 35.7%)
CIE-LABlab(27.93, 43.09, -62.12)
CIE-LCHlch(27.93, 75.60, 304.75°)
OKLaboklab(39.75% 0.0358 -0.1791)
OKLCHoklch(39.75% 0.183 281.3)
XYZxyz(9.5492, 5.4315, 35.6599)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BA4 #91A42B
analogous
#2B55A4 #3E2BA4 #7A2BA4
triadic
#3E2BA4 #A43E2B #2BA43E
tetradic
#3E2BA4 #A42B55 #91A42B #2BA47A
square
#3E2BA4 #A42B55 #91A42B #2BA47A
split-complementary
#3E2BA4 #A47A2B #55A42B
monochromatic
#191243 #2C1E74 #3E2BA4 #563FCD #8070D9

Accessibility & contrast

On white

10.07
#3E2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2BA4
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BA4#FFFFFF#000000##FFFFFF
##3E2BA41.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2ba4;
/* rgb */ color: rgb(62, 43, 164);
/* oklch */ color: oklch(39.8% 0.183 281.3);
Tailwind
colors: {
  custom: {
    50: '#8067c0',
    500: '#3e2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ba4;
$custom-light: #8067c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ba4",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 249.421,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39752,
    "c": 0.18268,
    "h": 281.3
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#3E2BA4
secondary
#B3C16A
accent
#E246C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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