#3E2DB8#3E2DB8

#3E2DB8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.205 H 278.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3E2DB8
RGBrgb(62, 45, 184)
HSLhsl(247, 61%, 45%)
HSVhsv(247, 76%, 72%)
CMYKcmyk(66.3%, 75.5%, 0%, 27.8%)
CIE-LABlab(30.30, 48.24, -70.19)
CIE-LCHlch(30.30, 85.17, 304.50°)
OKLaboklab(42.03% 0.0299 -0.2027)
OKLCHoklch(42.03% 0.205 278.4)
XYZxyz(11.5739, 6.3606, 45.9559)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB8 #A7B82D
analogous
#2D62B8 #3E2DB8 #832DB8
triadic
#3E2DB8 #B83E2D #2DB83E
tetradic
#3E2DB8 #B82D62 #A7B82D #2DB883
square
#3E2DB8 #B82D62 #A7B82D #2DB883
split-complementary
#3E2DB8 #B8832D #62B82D
monochromatic
#1D1556 #2D2187 #3E2DB8 #5F4ED4 #8B80E0

Accessibility & contrast

On white

9.24
#3E2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2DB8
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB8#FFFFFF#000000##FFFFFF
##3E2DB81.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2db8;
/* rgb */ color: rgb(62, 45, 184);
/* oklch */ color: oklch(42.0% 0.205 278.4);
Tailwind
colors: {
  custom: {
    50: '#8469cf',
    500: '#3e2db8',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db8;
$custom-light: #8469cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db8",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 247.338,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.2049,
    "h": 278.4
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#3E2DB8
secondary
#BFC978
accent
#E444D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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