#3E2CA8#3E2CA8

#3E2CA8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.187 H 280.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3E2CA8
RGBrgb(62, 44, 168)
HSLhsl(249, 58%, 42%)
HSVhsv(249, 74%, 66%)
CMYKcmyk(63.1%, 73.8%, 0%, 34.1%)
CIE-LABlab(28.52, 43.79, -63.57)
CIE-LCHlch(28.52, 77.19, 304.56°)
OKLaboklab(40.29% 0.0342 -0.1834)
OKLCHoklch(40.29% 0.187 280.6)
XYZxyz(9.9529, 5.6519, 37.6046)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CA8 #96A82C
analogous
#2C58A8 #3E2CA8 #7C2CA8
triadic
#3E2CA8 #A83E2C #2CA83E
tetradic
#3E2CA8 #A82C58 #96A82C #2CA87C
square
#3E2CA8 #A82C58 #96A82C #2CA87C
split-complementary
#3E2CA8 #A87C2C #58A82C
monochromatic
#1A1347 #2C1F78 #3E2CA8 #5743CE #8374DB

Accessibility & contrast

On white

9.86
#3E2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CA8
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CA8#FFFFFF#000000##FFFFFF
##3E2CA81.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2ca8;
/* rgb */ color: rgb(62, 44, 168);
/* oklch */ color: oklch(40.3% 0.187 280.6);
Tailwind
colors: {
  custom: {
    50: '#8168c3',
    500: '#3e2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ca8;
$custom-light: #8168c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ca8",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 248.71,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40286,
    "c": 0.18654,
    "h": 280.6
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#3E2CA8
secondary
#B6C26E
accent
#E246CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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