#3E2CA9#3E2CA9

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

Color values

HEX#3E2CA9
RGBrgb(62, 44, 169)
HSLhsl(249, 59%, 42%)
HSVhsv(249, 74%, 66%)
CMYKcmyk(63.3%, 74%, 0%, 33.7%)
CIE-LABlab(28.61, 44.10, -64.01)
CIE-LCHlch(28.61, 77.73, 304.57°)
OKLaboklab(40.39% 0.034 -0.1847)
OKLCHoklch(40.39% 0.188 280.4)
XYZxyz(10.0465, 5.6893, 38.0972)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CA9 #97A92C
analogous
#2C59A9 #3E2CA9 #7D2CA9
triadic
#3E2CA9 #A93E2C #2CA93E
tetradic
#3E2CA9 #A92C59 #97A92C #2CA97D
square
#3E2CA9 #A92C59 #97A92C #2CA97D
split-complementary
#3E2CA9 #A97D2C #59A92C
monochromatic
#1A1348 #2C1F78 #3E2CA9 #5844CE #8374DB

Accessibility & contrast

On white

9.82
#3E2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CA9
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CA9#FFFFFF#000000##FFFFFF
##3E2CA91.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2ca9;
/* rgb */ color: rgb(62, 44, 169);
/* oklch */ color: oklch(40.4% 0.188 280.4);
Tailwind
colors: {
  custom: {
    50: '#8168c4',
    500: '#3e2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ca9;
$custom-light: #8168c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ca9",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 248.64,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.18777,
    "h": 280.4
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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