#3E2F91#3E2F91

#3E2F91 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.154 H 283.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3E2F91
RGBrgb(62, 47, 145)
HSLhsl(249, 51%, 38%)
HSVhsv(249, 68%, 57%)
CMYKcmyk(57.2%, 67.6%, 0%, 43.1%)
CIE-LABlab(27.02, 34.71, -52.00)
CIE-LCHlch(27.02, 62.52, 303.72°)
OKLaboklab(38.57% 0.0358 -0.1495)
OKLCHoklch(38.57% 0.154 283.5)
XYZxyz(8.1124, 5.1010, 27.3397)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F91 #82912F
analogous
#2F5191 #3E2F91 #6F2F91
triadic
#3E2F91 #913E2F #2F913E
tetradic
#3E2F91 #912F51 #82912F #2F916F
square
#3E2F91 #912F51 #82912F #2F916F
split-complementary
#3E2F91 #916F2F #51912F
monochromatic
#161135 #2A2063 #3E2F91 #523EBF #7B6BCF

Accessibility & contrast

On white

10.40
#3E2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3E2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F91
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F91#FFFFFF#000000##FFFFFF
##3E2F911.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#15485C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2f91;
/* rgb */ color: rgb(62, 47, 145);
/* oklch */ color: oklch(38.6% 0.154 283.5);
Tailwind
colors: {
  custom: {
    50: '#7c69b2',
    500: '#3e2f91',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f91;
$custom-light: #7c69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f91",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 249.184,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.15375,
    "h": 283.5
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#3E2F91
secondary
#AAB665
accent
#DB4DC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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