#3E2FA5#3E2FA5

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

Color values

HEX#3E2FA5
RGBrgb(62, 47, 165)
HSLhsl(248, 56%, 42%)
HSVhsv(248, 72%, 65%)
CMYKcmyk(62.4%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.83, 41.15, -61.24)
CIE-LCHlch(28.83, 73.78, 303.90°)
OKLaboklab(40.42% 0.0326 -0.1766)
OKLCHoklch(40.42% 0.18 280.5)
XYZxyz(9.7925, 5.7731, 36.1883)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FA5 #96A52F
analogous
#2F5BA5 #3E2FA5 #792FA5
triadic
#3E2FA5 #A53E2F #2FA53E
tetradic
#3E2FA5 #A52F5B #96A52F #2FA579
square
#3E2FA5 #A52F5B #96A52F #2FA579
split-complementary
#3E2FA5 #A5792F #5BA52F
monochromatic
#1A1446 #2C2175 #3E2FA5 #5747CB #8376D8

Accessibility & contrast

On white

9.75
#3E2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2FA5
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FA5#FFFFFF#000000##FFFFFF
##3E2FA51.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2fa5;
/* rgb */ color: rgb(62, 47, 165);
/* oklch */ color: oklch(40.4% 0.180 280.5);
Tailwind
colors: {
  custom: {
    50: '#8069c1',
    500: '#3e2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fa5;
$custom-light: #8069c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fa5",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 247.627,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.17958,
    "h": 280.5
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#3E2FA5
secondary
#B6C070
accent
#DF49CC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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