#3E2AA8#3E2AA8

#3E2AA8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.189 H 280.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3E2AA8
RGBrgb(62, 42, 168)
HSLhsl(250, 60%, 41%)
HSVhsv(250, 75%, 66%)
CMYKcmyk(63.1%, 75%, 0%, 34.1%)
CIE-LABlab(28.13, 44.87, -64.20)
CIE-LCHlch(28.13, 78.33, 304.95°)
OKLaboklab(40.01% 0.0356 -0.1852)
OKLCHoklch(40.01% 0.189 280.9)
XYZxyz(9.8802, 5.5065, 37.5804)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AA8 #94A82A
analogous
#2A55A8 #3E2AA8 #7D2AA8
triadic
#3E2AA8 #A83E2A #2AA83E
tetradic
#3E2AA8 #A82A55 #94A82A #2AA87D
square
#3E2AA8 #A82A55 #94A82A #2AA87D
split-complementary
#3E2AA8 #A87D2A #55A82A
monochromatic
#1A1246 #2C1E77 #3E2AA8 #5740CF #8271DB

Accessibility & contrast

On white

9.99
#3E2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E2AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AA8
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AA8#FFFFFF#000000##FFFFFF
##3E2AA81.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2aa8;
/* rgb */ color: rgb(62, 42, 168);
/* oklch */ color: oklch(40.0% 0.189 280.9);
Tailwind
colors: {
  custom: {
    50: '#8166c3',
    500: '#3e2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aa8;
$custom-light: #8166c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aa8",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 249.524,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.1886,
    "h": 280.9
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#3E2AA8
secondary
#B5C36B
accent
#E345CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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