#3E2F8D#3E2F8D

#3E2F8D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.148 H 284.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3E2F8D
RGBrgb(62, 47, 141)
HSLhsl(250, 50%, 37%)
HSVhsv(250, 67%, 55%)
CMYKcmyk(56%, 66.7%, 0%, 44.7%)
CIE-LABlab(26.68, 33.42, -50.09)
CIE-LCHlch(26.68, 60.21, 303.71°)
OKLaboklab(38.21% 0.0363 -0.1439)
OKLCHoklch(38.21% 0.148 284.2)
XYZxyz(7.8094, 4.9798, 25.7438)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F8D #7E8D2F
analogous
#2F4F8D #3E2F8D #6D2F8D
triadic
#3E2F8D #8D3E2F #2F8D3E
tetradic
#3E2F8D #8D2F4F #7E8D2F #2F8D6D
square
#3E2F8D #8D2F4F #7E8D2F #2F8D6D
split-complementary
#3E2F8D #8D6D2F #4F8D2F
monochromatic
#161031 #2A205F #3E2F8D #523EBB #7969CD

Accessibility & contrast

On white

10.52
#3E2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E2F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F8D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F8D#FFFFFF#000000##FFFFFF
##3E2F8D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#1B4659
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e2f8d;
/* rgb */ color: rgb(62, 47, 141);
/* oklch */ color: oklch(38.2% 0.148 284.2);
Tailwind
colors: {
  custom: {
    50: '#7b68af',
    500: '#3e2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f8d;
$custom-light: #7b68af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f8d",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 249.574,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3821,
    "c": 0.14842,
    "h": 284.2
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#3E2F8D
secondary
#A7B464
accent
#DA4EC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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