#3E2DB1#3E2DB1

#3E2DB1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.196 H 279.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#3E2DB1
RGBrgb(62, 45, 177)
HSLhsl(248, 59%, 44%)
HSVhsv(248, 75%, 69%)
CMYKcmyk(65%, 74.6%, 0%, 30.6%)
CIE-LABlab(29.60, 46.06, -67.18)
CIE-LCHlch(29.60, 81.46, 304.44°)
OKLaboklab(41.32% 0.0315 -0.1939)
OKLCHoklch(41.32% 0.196 279.2)
XYZxyz(10.8583, 6.0744, 42.1867)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB1 #A0B12D
analogous
#2D5EB1 #3E2DB1 #802DB1
triadic
#3E2DB1 #B13E2D #2DB13E
tetradic
#3E2DB1 #B12D5E #A0B12D #2DB180
square
#3E2DB1 #B12D5E #A0B12D #2DB180
split-complementary
#3E2DB1 #B1802D #5EB12D
monochromatic
#1C144F #2D2180 #3E2DB1 #5C4AD1 #887BDD

Accessibility & contrast

On white

9.48
#3E2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3E2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DB1
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB1#FFFFFF#000000##FFFFFF
##3E2DB11.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e2db1;
/* rgb */ color: rgb(62, 45, 177);
/* oklch */ color: oklch(41.3% 0.196 279.2);
Tailwind
colors: {
  custom: {
    50: '#8269ca',
    500: '#3e2db1',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db1;
$custom-light: #8269ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db1",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 247.727,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.19649,
    "h": 279.2
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#3E2DB1
secondary
#BBC674
accent
#E345CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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