#3E2BA3#3E2BA3

#3E2BA3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.181 H 281.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3E2BA3
RGBrgb(62, 43, 163)
HSLhsl(250, 58%, 40%)
HSVhsv(250, 74%, 64%)
CMYKcmyk(62%, 73.6%, 0%, 36.1%)
CIE-LABlab(27.83, 42.77, -61.67)
CIE-LCHlch(27.83, 75.05, 304.74°)
OKLaboklab(39.65% 0.036 -0.1778)
OKLCHoklch(39.65% 0.181 281.4)
XYZxyz(9.4593, 5.3956, 35.1862)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BA3 #90A32B
analogous
#2B54A3 #3E2BA3 #7A2BA3
triadic
#3E2BA3 #A33E2B #2BA33E
tetradic
#3E2BA3 #A32B54 #90A32B #2BA37A
square
#3E2BA3 #A32B54 #90A32B #2BA37A
split-complementary
#3E2BA3 #A37A2B #54A32B
monochromatic
#191142 #2C1E73 #3E2BA3 #553FCC #806FD9

Accessibility & contrast

On white

10.10
#3E2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3E2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BA3
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BA3#FFFFFF#000000##FFFFFF
##3E2BA31.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2ba3;
/* rgb */ color: rgb(62, 43, 163);
/* oklch */ color: oklch(39.7% 0.181 281.4);
Tailwind
colors: {
  custom: {
    50: '#8067bf',
    500: '#3e2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ba3;
$custom-light: #8067bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ba3",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 249.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.18144,
    "h": 281.4
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#3E2BA3
secondary
#B2C06A
accent
#E146C9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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