#3E2F92#3E2F92

#3E2F92 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.155 H 283.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3E2F92
RGBrgb(62, 47, 146)
HSLhsl(249, 51%, 38%)
HSVhsv(249, 68%, 57%)
CMYKcmyk(57.5%, 67.8%, 0%, 42.7%)
CIE-LABlab(27.11, 35.03, -52.48)
CIE-LCHlch(27.11, 63.10, 303.73°)
OKLaboklab(38.66% 0.0357 -0.1509)
OKLCHoklch(38.66% 0.155 283.3)
XYZxyz(8.1898, 5.1320, 27.7476)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F92 #83922F
analogous
#2F5192 #3E2F92 #6F2F92
triadic
#3E2F92 #923E2F #2F923E
tetradic
#3E2F92 #922F51 #83922F #2F926F
square
#3E2F92 #922F51 #83922F #2F926F
split-complementary
#3E2F92 #926F2F #51922F
monochromatic
#171135 #2A2064 #3E2F92 #523EC0 #7B6CD0

Accessibility & contrast

On white

10.36
#3E2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3E2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F92
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F92#FFFFFF#000000##FFFFFF
##3E2F921.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#14485C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2f92;
/* rgb */ color: rgb(62, 47, 146);
/* oklch */ color: oklch(38.7% 0.155 283.3);
Tailwind
colors: {
  custom: {
    50: '#7c69b3',
    500: '#3e2f92',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f92;
$custom-light: #7c69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f92",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 249.091,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38655,
    "c": 0.15507,
    "h": 283.3
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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