#3E2EA2#3E2EA2

#3E2EA2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.177 H 281.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3E2EA2
RGBrgb(62, 46, 162)
HSLhsl(248, 56%, 41%)
HSVhsv(248, 72%, 64%)
CMYKcmyk(61.7%, 71.6%, 0%, 36.5%)
CIE-LABlab(28.34, 40.77, -60.23)
CIE-LCHlch(28.34, 72.73, 304.09°)
OKLaboklab(39.99% 0.0339 -0.1736)
OKLCHoklch(39.99% 0.177 281.1)
XYZxyz(9.4831, 5.5861, 34.7539)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EA2 #92A22E
analogous
#2E58A2 #3E2EA2 #782EA2
triadic
#3E2EA2 #A23E2E #2EA23E
tetradic
#3E2EA2 #A22E58 #92A22E #2EA278
square
#3E2EA2 #A22E58 #92A22E #2EA278
split-complementary
#3E2EA2 #A2782E #58A22E
monochromatic
#1A1343 #2C2072 #3E2EA2 #5643CA #8173D7

Accessibility & contrast

On white

9.92
#3E2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E2EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EA2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EA2#FFFFFF#000000##FFFFFF
##3E2EA21.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2ea2;
/* rgb */ color: rgb(62, 46, 162);
/* oklch */ color: oklch(40.0% 0.177 281.1);
Tailwind
colors: {
  custom: {
    50: '#7f68bf',
    500: '#3e2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ea2;
$custom-light: #7f68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ea2",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 248.276,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.17691,
    "h": 281.1
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#3E2EA2
secondary
#B4BF6D
accent
#DF49CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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