#3E2EA3#3E2EA3

#3E2EA3 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.178 H 280.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2EA3
RGBrgb(62, 46, 163)
HSLhsl(248, 56%, 41%)
HSVhsv(248, 72%, 64%)
CMYKcmyk(62%, 71.8%, 0%, 36.1%)
CIE-LABlab(28.44, 41.09, -60.68)
CIE-LCHlch(28.44, 73.28, 304.10°)
OKLaboklab(40.08% 0.0338 -0.1749)
OKLCHoklch(40.08% 0.178 280.9)
XYZxyz(9.5724, 5.6218, 35.2239)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EA3 #93A32E
analogous
#2E58A3 #3E2EA3 #782EA3
triadic
#3E2EA3 #A33E2E #2EA33E
tetradic
#3E2EA3 #A32E58 #93A32E #2EA378
square
#3E2EA3 #A32E58 #93A32E #2EA378
split-complementary
#3E2EA3 #A3782E #58A32E
monochromatic
#1A1344 #2C2173 #3E2EA3 #5644CA #8174D8

Accessibility & contrast

On white

9.89
#3E2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2EA3
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EA3#FFFFFF#000000##FFFFFF
##3E2EA31.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2ea3;
/* rgb */ color: rgb(62, 46, 163);
/* oklch */ color: oklch(40.1% 0.178 280.9);
Tailwind
colors: {
  custom: {
    50: '#8069bf',
    500: '#3e2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ea3;
$custom-light: #8069bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ea3",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 248.205,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40084,
    "c": 0.17817,
    "h": 280.9
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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