#3E2EAA#3E2EAA

#3E2EAA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.187 H 280.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3E2EAA
RGBrgb(62, 46, 170)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 73%, 67%)
CMYKcmyk(63.5%, 72.9%, 0%, 33.3%)
CIE-LABlab(29.11, 43.31, -63.80)
CIE-LCHlch(29.11, 77.11, 304.17°)
OKLaboklab(40.76% 0.0324 -0.1841)
OKLCHoklch(40.76% 0.187 280)
XYZxyz(10.2170, 5.8796, 38.6189)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EAA #9AAA2E
analogous
#2E5CAA #3E2EAA #7C2EAA
triadic
#3E2EAA #AA3E2E #2EAA3E
tetradic
#3E2EAA #AA2E5C #9AAA2E #2EAA7C
square
#3E2EAA #AA2E5C #9AAA2E #2EAA7C
split-complementary
#3E2EAA #AA7C2E #5CAA2E
monochromatic
#1B144A #2C217A #3E2EAA #5948CD #8578DA

Accessibility & contrast

On white

9.65
#3E2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3E2EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EAA
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EAA#FFFFFF#000000##FFFFFF
##3E2EAA1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e2eaa;
/* rgb */ color: rgb(62, 46, 170);
/* oklch */ color: oklch(40.8% 0.187 280.0);
Tailwind
colors: {
  custom: {
    50: '#8169c4',
    500: '#3e2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3e2eaa;
$custom-light: #8169c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2eaa",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 247.742,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.1869,
    "h": 280
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#3E2EAA
secondary
#B8C371
accent
#E147CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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