#3E358F#3E358F

#3E358F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.143 H 282.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3E358F
RGBrgb(62, 53, 143)
HSLhsl(246, 46%, 38%)
HSVhsv(246, 63%, 56%)
CMYKcmyk(56.6%, 62.9%, 0%, 43.9%)
CIE-LABlab(28.26, 30.32, -48.76)
CIE-LCHlch(28.26, 57.42, 301.88°)
OKLaboklab(39.41% 0.0301 -0.14)
OKLCHoklch(39.41% 0.143 282.1)
XYZxyz(8.2161, 5.5530, 26.6202)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E358F #868F35
analogous
#35598F #3E358F #6B358F
triadic
#3E358F #8F3E35 #358F3E
tetradic
#3E358F #8F3559 #868F35 #358F6B
square
#3E358F #8F3559 #868F35 #358F6B
split-complementary
#3E358F #8F6B35 #598F35
monochromatic
#171436 #2B2462 #3E358F #5247BB #7C73CB

Accessibility & contrast

On white

9.95
#3E358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E358F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E358F#FFFFFF#000000##FFFFFF
##3E358F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#174B5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e358f;
/* rgb */ color: rgb(62, 53, 143);
/* oklch */ color: oklch(39.4% 0.143 282.1);
Tailwind
colors: {
  custom: {
    50: '#7b6db1',
    500: '#3e358f',
    950: '#000000',
  },
}
SCSS
$custom: #3e358f;
$custom-light: #7b6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e358f",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 246,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.14315,
    "h": 282.1
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#3E358F
secondary
#ACB46C
accent
#D652C8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3E358F

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

Preview Lab → · Contrast checker → · Palette generator →

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