#3E2F9A#3E2F9A

#3E2F9A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.166 H 282.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3E2F9A
RGBrgb(62, 47, 154)
HSLhsl(248, 53%, 39%)
HSVhsv(248, 69%, 60%)
CMYKcmyk(59.7%, 69.5%, 0%, 39.6%)
CIE-LABlab(27.82, 37.62, -56.22)
CIE-LCHlch(27.82, 67.65, 303.79°)
OKLaboklab(39.39% 0.0345 -0.1619)
OKLCHoklch(39.39% 0.166 282)
XYZxyz(8.8340, 5.3897, 31.1404)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F9A #8B9A2F
analogous
#2F569A #3E2F9A #742F9A
triadic
#3E2F9A #9A3E2F #2F9A3E
tetradic
#3E2F9A #9A2F56 #8B9A2F #2F9A74
square
#3E2F9A #9A2F56 #8B9A2F #2F9A74
split-complementary
#3E2F9A #9A742F #569A2F
monochromatic
#18123C #2B216B #3E2F9A #5441C5 #7E70D3

Accessibility & contrast

On white

10.11
#3E2F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3E2F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F9A
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F9A#FFFFFF#000000##FFFFFF
##3E2F9A1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#024B60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2f9a;
/* rgb */ color: rgb(62, 47, 154);
/* oklch */ color: oklch(39.4% 0.166 282.0);
Tailwind
colors: {
  custom: {
    50: '#7e69b9',
    500: '#3e2f9a',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f9a;
$custom-light: #7e69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f9a",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 248.411,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.16553,
    "h": 282
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#3E2F9A
secondary
#B0BB6A
accent
#DD4BC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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