#3E2EB7#3E2EB7

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

Color values

HEX#3E2EB7
RGBrgb(62, 46, 183)
HSLhsl(247, 60%, 45%)
HSVhsv(247, 75%, 72%)
CMYKcmyk(66.1%, 74.9%, 0%, 28.2%)
CIE-LABlab(30.39, 47.40, -69.45)
CIE-LCHlch(30.39, 84.08, 304.31°)
OKLaboklab(42.06% 0.0296 -0.2006)
OKLCHoklch(42.06% 0.203 278.4)
XYZxyz(11.5081, 6.3961, 45.4187)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EB7 #A7B72E
analogous
#2E63B7 #3E2EB7 #822EB7
triadic
#3E2EB7 #B73E2E #2EB73E
tetradic
#3E2EB7 #B72E63 #A7B72E #2EB782
square
#3E2EB7 #B72E63 #A7B72E #2EB782
split-complementary
#3E2EB7 #B7822E #63B72E
monochromatic
#1D1555 #2D2286 #3E2EB7 #5F4FD3 #8B80DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E2EB7#FFFFFF#000000##FFFFFF
##3E2EB71.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)
#004DBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e2eb7;
/* rgb */ color: rgb(62, 46, 183);
/* oklch */ color: oklch(42.1% 0.203 278.4);
Tailwind
colors: {
  custom: {
    50: '#8469ce',
    500: '#3e2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3e2eb7;
$custom-light: #8469ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2eb7",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 247.007,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.20274,
    "h": 278.4
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#3E2EB7
secondary
#BFC879
accent
#E345D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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