#3E2CAB#3E2CAB

#3E2CAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.190 H 280.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3E2CAB
RGBrgb(62, 44, 171)
HSLhsl(249, 59%, 42%)
HSVhsv(249, 74%, 67%)
CMYKcmyk(63.7%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.81, 44.73, -64.89)
CIE-LCHlch(28.81, 78.81, 304.58°)
OKLaboklab(40.58% 0.0335 -0.1872)
OKLCHoklch(40.58% 0.19 280.1)
XYZxyz(10.2356, 5.7650, 39.0935)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CAB #99AB2C
analogous
#2C5AAB #3E2CAB #7E2CAB
triadic
#3E2CAB #AB3E2C #2CAB3E
tetradic
#3E2CAB #AB2C5A #99AB2C #2CAB7E
square
#3E2CAB #AB2C5A #99AB2C #2CAB7E
split-complementary
#3E2CAB #AB7E2C #5AAB2C
monochromatic
#1B134A #2C1F7A #3E2CAB #5945CF #8476DC

Accessibility & contrast

On white

9.75
#3E2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3E2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CAB
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CAB#FFFFFF#000000##FFFFFF
##3E2CAB1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2cab;
/* rgb */ color: rgb(62, 44, 171);
/* oklch */ color: oklch(40.6% 0.190 280.1);
Tailwind
colors: {
  custom: {
    50: '#8168c5',
    500: '#3e2cab',
    950: '#000000',
  },
}
SCSS
$custom: #3e2cab;
$custom-light: #8168c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2cab",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 248.504,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40584,
    "c": 0.19022,
    "h": 280.1
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#3E2CAB
secondary
#B8C36F
accent
#E246CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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