#3E32AF#3E32AF

#3E32AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.189 H 278.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3E32AF
RGBrgb(62, 50, 175)
HSLhsl(246, 56%, 44%)
HSVhsv(246, 71%, 69%)
CMYKcmyk(64.6%, 71.4%, 0%, 31.4%)
CIE-LABlab(30.40, 42.65, -64.67)
CIE-LCHlch(30.40, 77.47, 303.40°)
OKLaboklab(41.83% 0.0286 -0.1866)
OKLCHoklch(41.83% 0.189 278.7)
XYZxyz(10.8626, 6.3996, 41.2119)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32AF #A3AF32
analogous
#3265AF #3E32AF #7D32AF
triadic
#3E32AF #AF3E32 #32AF3E
tetradic
#3E32AF #AF3265 #A3AF32 #32AF7D
square
#3E32AF #AF3265 #A3AF32 #32AF7D
split-complementary
#3E32AF #AF7D32 #65AF32
monochromatic
#1C1750 #2D247F #3E32AF #5D51CD #8981DB

Accessibility & contrast

On white

9.21
#3E32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3E32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32AF
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32AF#FFFFFF#000000##FFFFFF
##3E32AF1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e32af;
/* rgb */ color: rgb(62, 50, 175);
/* oklch */ color: oklch(41.8% 0.189 278.7);
Tailwind
colors: {
  custom: {
    50: '#826cc8',
    500: '#3e32af',
    950: '#000000',
  },
}
SCSS
$custom: #3e32af;
$custom-light: #826cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32af",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 245.76,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.18882,
    "h": 278.7
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#3E32AF
secondary
#BDC479
accent
#DF49D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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