#3E2FA3#3E2FA3

#3E2FA3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.177 H 280.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3E2FA3
RGBrgb(62, 47, 163)
HSLhsl(248, 55%, 41%)
HSVhsv(248, 71%, 64%)
CMYKcmyk(62%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.64, 40.51, -60.34)
CIE-LCHlch(28.64, 72.68, 303.88°)
OKLaboklab(40.23% 0.033 -0.1739)
OKLCHoklch(40.23% 0.177 280.7)
XYZxyz(9.6119, 5.7008, 35.2371)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FA3 #94A32F
analogous
#2F5AA3 #3E2FA3 #782FA3
triadic
#3E2FA3 #A33E2F #2FA33E
tetradic
#3E2FA3 #A32F5A #94A32F #2FA378
square
#3E2FA3 #A32F5A #94A32F #2FA378
split-complementary
#3E2FA3 #A3782F #5AA32F
monochromatic
#1A1444 #2C2173 #3E2FA3 #5746CA #8275D7

Accessibility & contrast

On white

9.81
#3E2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2FA3
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FA3#FFFFFF#000000##FFFFFF
##3E2FA31.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2fa3;
/* rgb */ color: rgb(62, 47, 163);
/* oklch */ color: oklch(40.2% 0.177 280.7);
Tailwind
colors: {
  custom: {
    50: '#8069bf',
    500: '#3e2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fa3;
$custom-light: #8069bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fa3",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 247.759,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.17705,
    "h": 280.7
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#3E2FA3
secondary
#B5BF6F
accent
#DF49CB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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