#3E2EA6#3E2EA6

#3E2EA6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.182 H 280.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3E2EA6
RGBrgb(62, 46, 166)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 72%, 65%)
CMYKcmyk(62.7%, 72.3%, 0%, 34.9%)
CIE-LABlab(28.72, 42.04, -62.02)
CIE-LCHlch(28.72, 74.93, 304.13°)
OKLaboklab(40.37% 0.0332 -0.1789)
OKLCHoklch(40.37% 0.182 280.5)
XYZxyz(9.8444, 5.7306, 36.6563)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EA6 #96A62E
analogous
#2E5AA6 #3E2EA6 #7A2EA6
triadic
#3E2EA6 #A63E2E #2EA63E
tetradic
#3E2EA6 #A62E5A #96A62E #2EA67A
square
#3E2EA6 #A62E5A #96A62E #2EA67A
split-complementary
#3E2EA6 #A67A2E #5AA62E
monochromatic
#1A1346 #2C2176 #3E2EA6 #5746CC #8376D9

Accessibility & contrast

On white

9.78
#3E2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3E2EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EA6
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EA6#FFFFFF#000000##FFFFFF
##3E2EA61.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2ea6;
/* rgb */ color: rgb(62, 46, 166);
/* oklch */ color: oklch(40.4% 0.182 280.5);
Tailwind
colors: {
  custom: {
    50: '#8069c2',
    500: '#3e2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ea6;
$custom-light: #8069c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ea6",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 248,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40373,
    "c": 0.18193,
    "h": 280.5
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#3E2EA6
secondary
#B6C16F
accent
#E048CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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