#3E2EB8#3E2EB8

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

Color values

HEX#3E2EB8
RGBrgb(62, 46, 184)
HSLhsl(247, 60%, 45%)
HSVhsv(247, 75%, 72%)
CMYKcmyk(66.3%, 75%, 0%, 27.8%)
CIE-LABlab(30.49, 47.71, -69.88)
CIE-LCHlch(30.49, 84.61, 304.32°)
OKLaboklab(42.16% 0.0293 -0.2018)
OKLCHoklch(42.16% 0.204 278.3)
XYZxyz(11.6125, 6.4378, 45.9688)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EB8 #A8B82E
analogous
#2E63B8 #3E2EB8 #832EB8
triadic
#3E2EB8 #B83E2E #2EB83E
tetradic
#3E2EB8 #B82E63 #A8B82E #2EB883
square
#3E2EB8 #B82E63 #A8B82E #2EB883
split-complementary
#3E2EB8 #B8832E #63B82E
monochromatic
#1D1656 #2E2287 #3E2EB8 #5F50D3 #8C81DF

Accessibility & contrast

On white

9.18
#3E2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3E2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EB8
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EB8#FFFFFF#000000##FFFFFF
##3E2EB81.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2eb8;
/* rgb */ color: rgb(62, 46, 184);
/* oklch */ color: oklch(42.2% 0.204 278.3);
Tailwind
colors: {
  custom: {
    50: '#8469cf',
    500: '#3e2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3e2eb8;
$custom-light: #8469cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2eb8",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 246.957,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4216,
    "c": 0.20394,
    "h": 278.3
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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