#3E2BA6#3E2BA6

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

Color values

HEX#3E2BA6
RGBrgb(62, 43, 166)
HSLhsl(249, 59%, 41%)
HSVhsv(249, 74%, 65%)
CMYKcmyk(62.7%, 74.1%, 0%, 34.9%)
CIE-LABlab(28.13, 43.71, -63.01)
CIE-LCHlch(28.13, 76.68, 304.75°)
OKLaboklab(39.95% 0.0353 -0.1817)
OKLCHoklch(39.95% 0.185 281)
XYZxyz(9.7312, 5.5043, 36.6186)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BA6 #93A62B
analogous
#2B55A6 #3E2BA6 #7B2BA6
triadic
#3E2BA6 #A63E2B #2BA63E
tetradic
#3E2BA6 #A62B55 #93A62B #2BA67B
square
#3E2BA6 #A62B55 #93A62B #2BA67B
split-complementary
#3E2BA6 #A67B2B #55A62B
monochromatic
#1A1245 #2C1E75 #3E2BA6 #5641CE #8171DA

Accessibility & contrast

On white

10.00
#3E2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E2BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BA6
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BA6#FFFFFF#000000##FFFFFF
##3E2BA61.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2ba6;
/* rgb */ color: rgb(62, 43, 166);
/* oklch */ color: oklch(40.0% 0.185 281.0);
Tailwind
colors: {
  custom: {
    50: '#8067c2',
    500: '#3e2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ba6;
$custom-light: #8067c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ba6",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 249.268,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3995,
    "c": 0.18513,
    "h": 281
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#3E2BA6
secondary
#B4C16B
accent
#E246CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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