#3E2FA0#3E2FA0

#3E2FA0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.173 H 281.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3E2FA0
RGBrgb(62, 47, 160)
HSLhsl(248, 55%, 41%)
HSVhsv(248, 71%, 63%)
CMYKcmyk(61.2%, 70.6%, 0%, 37.3%)
CIE-LABlab(28.37, 39.55, -58.98)
CIE-LCHlch(28.37, 71.01, 303.85°)
OKLaboklab(39.95% 0.0335 -0.17)
OKLCHoklch(39.95% 0.173 281.2)
XYZxyz(9.3463, 5.5946, 33.8382)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FA0 #91A02F
analogous
#2F58A0 #3E2FA0 #762FA0
triadic
#3E2FA0 #A03E2F #2FA03E
tetradic
#3E2FA0 #A02F58 #91A02F #2FA076
square
#3E2FA0 #A02F58 #91A02F #2FA076
split-complementary
#3E2FA0 #A0762F #58A02F
monochromatic
#191341 #2C2171 #3E2FA0 #5644C8 #8073D6

Accessibility & contrast

On white

9.91
#3E2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2FA0
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FA0#FFFFFF#000000##FFFFFF
##3E2FA01.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2fa0;
/* rgb */ color: rgb(62, 47, 160);
/* oklch */ color: oklch(39.9% 0.173 281.2);
Tailwind
colors: {
  custom: {
    50: '#7f69bd',
    500: '#3e2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fa0;
$custom-light: #7f69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fa0",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 247.965,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39947,
    "c": 0.17324,
    "h": 281.2
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#3E2FA0
secondary
#B3BE6D
accent
#DE4ACA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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