#3E328B#3E328B

#3E328B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.142 H 283.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3E328B
RGBrgb(62, 50, 139)
HSLhsl(248, 47%, 37%)
HSVhsv(248, 64%, 55%)
CMYKcmyk(55.4%, 64%, 0%, 45.5%)
CIE-LABlab(27.21, 30.90, -47.98)
CIE-LCHlch(27.21, 57.07, 302.78°)
OKLaboklab(38.55% 0.0335 -0.1377)
OKLCHoklch(38.55% 0.142 283.7)
XYZxyz(7.7860, 5.1690, 25.0085)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E328B #7F8B32
analogous
#32538B #3E328B #6B328B
triadic
#3E328B #8B3E32 #328B3E
tetradic
#3E328B #8B3253 #7F8B32 #328B6B
square
#3E328B #8B3253 #7F8B32 #328B6B
split-complementary
#3E328B #8B6B32 #538B32
monochromatic
#161231 #2A225E #3E328B #5242B8 #7A6DCA

Accessibility & contrast

On white

10.33
#3E328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E328B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E328B#FFFFFF#000000##FFFFFF
##3E328B1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#1C4859
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e328b;
/* rgb */ color: rgb(62, 50, 139);
/* oklch */ color: oklch(38.5% 0.142 283.7);
Tailwind
colors: {
  custom: {
    50: '#7b6aae',
    500: '#3e328b',
    950: '#000000',
  },
}
SCSS
$custom: #3e328b;
$custom-light: #7b6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e328b",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 248.09,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.1417,
    "h": 283.7
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#3E328B
secondary
#A8B267
accent
#D751C5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E328B

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

Preview Lab → · Contrast checker → · Palette generator →

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