#3E2DB9#3E2DB9

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

Color values

HEX#3E2DB9
RGBrgb(62, 45, 185)
HSLhsl(247, 61%, 45%)
HSVhsv(247, 76%, 73%)
CMYKcmyk(66.5%, 75.7%, 0%, 27.5%)
CIE-LABlab(30.41, 48.55, -70.61)
CIE-LCHlch(30.41, 85.69, 304.51°)
OKLaboklab(42.13% 0.0297 -0.2039)
OKLCHoklch(42.13% 0.206 278.3)
XYZxyz(11.6791, 6.4027, 46.5099)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB9 #A8B92D
analogous
#2D62B9 #3E2DB9 #842DB9
triadic
#3E2DB9 #B93E2D #2DB93E
tetradic
#3E2DB9 #B92D62 #A8B92D #2DB984
square
#3E2DB9 #B92D62 #A8B92D #2DB984
split-complementary
#3E2DB9 #B9842D #62B92D
monochromatic
#1D1557 #2E2188 #3E2DB9 #5F4FD4 #8C80E0

Accessibility & contrast

On white

9.21
#3E2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3E2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DB9
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB9#FFFFFF#000000##FFFFFF
##3E2DB91.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e2db9;
/* rgb */ color: rgb(62, 45, 185);
/* oklch */ color: oklch(42.1% 0.206 278.3);
Tailwind
colors: {
  custom: {
    50: '#8469cf',
    500: '#3e2db9',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db9;
$custom-light: #8469cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db9",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 247.286,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42131,
    "c": 0.2061,
    "h": 278.3
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#3E2DB9
secondary
#BFC979
accent
#E444D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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