#3E2F8A#3E2F8A

#3E2F8A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.144 H 284.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3E2F8A
RGBrgb(62, 47, 138)
HSLhsl(250, 49%, 36%)
HSVhsv(250, 66%, 54%)
CMYKcmyk(55.1%, 65.9%, 0%, 45.9%)
CIE-LABlab(26.42, 32.44, -48.64)
CIE-LCHlch(26.42, 58.47, 303.70°)
OKLaboklab(37.95% 0.0367 -0.1396)
OKLCHoklch(37.95% 0.144 284.7)
XYZxyz(7.5892, 4.8917, 24.5841)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F8A #7B8A2F
analogous
#2F4E8A #3E2F8A #6C2F8A
triadic
#3E2F8A #8A3E2F #2F8A3E
tetradic
#3E2F8A #8A2F4E #7B8A2F #2F8A6C
square
#3E2F8A #8A2F4E #7B8A2F #2F8A6C
split-complementary
#3E2F8A #8A6C2F #4E8A2F
monochromatic
#15102F #291F5C #3E2F8A #533FB8 #7868CC

Accessibility & contrast

On white

10.61
#3E2F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E2F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F8A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F8A#FFFFFF#000000##FFFFFF
##3E2F8A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#1E4558
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e2f8a;
/* rgb */ color: rgb(62, 47, 138);
/* oklch */ color: oklch(37.9% 0.144 284.7);
Tailwind
colors: {
  custom: {
    50: '#7b68ad',
    500: '#3e2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f8a;
$custom-light: #7b68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f8a",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 249.89,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.14437,
    "h": 284.7
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#3E2F8A
secondary
#A5B362
accent
#D94FC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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