#3E2CBA#3E2CBA

#3E2CBA is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.208 H 278.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3E2CBA
RGBrgb(62, 44, 186)
HSLhsl(248, 62%, 45%)
HSVhsv(248, 76%, 73%)
CMYKcmyk(66.7%, 76.3%, 0%, 27.1%)
CIE-LABlab(30.33, 49.38, -71.34)
CIE-LCHlch(30.33, 86.76, 304.69°)
OKLaboklab(42.11% 0.03 -0.206)
OKLCHoklch(42.11% 0.208 278.3)
XYZxyz(11.7474, 6.3697, 47.0553)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CBA #A8BA2C
analogous
#2C61BA #3E2CBA #852CBA
triadic
#3E2CBA #BA3E2C #2CBA3E
tetradic
#3E2CBA #BA2C61 #A8BA2C #2CBA85
square
#3E2CBA #BA2C61 #A8BA2C #2CBA85
split-complementary
#3E2CBA #BA852C #61BA2C
monochromatic
#1D1557 #2E2089 #3E2CBA #5F4ED5 #8C80E1

Accessibility & contrast

On white

9.23
#3E2CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3E2CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CBA
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CBA#FFFFFF#000000##FFFFFF
##3E2CBA1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2cba;
/* rgb */ color: rgb(62, 44, 186);
/* oklch */ color: oklch(42.1% 0.208 278.3);
Tailwind
colors: {
  custom: {
    50: '#8468d0',
    500: '#3e2cba',
    950: '#000000',
  },
}
SCSS
$custom: #3e2cba;
$custom-light: #8468d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2cba",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 247.606,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42105,
    "c": 0.20822,
    "h": 278.3
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#3E2CBA
secondary
#BFCA78
accent
#E543D0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3E2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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