#3E359D#3E359D

#3E359D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.162 H 280.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3E359D
RGBrgb(62, 53, 157)
HSLhsl(245, 50%, 41%)
HSVhsv(245, 66%, 62%)
CMYKcmyk(60.5%, 66.2%, 0%, 38.4%)
CIE-LABlab(29.42, 34.97, -55.43)
CIE-LCHlch(29.42, 65.54, 302.25°)
OKLaboklab(40.63% 0.0289 -0.1595)
OKLCHoklch(40.63% 0.162 280.2)
XYZxyz(9.3436, 6.0040, 32.5583)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E359D #949D35
analogous
#35609D #3E359D #72359D
triadic
#3E359D #9D3E35 #359D3E
tetradic
#3E359D #9D3560 #949D35 #359D72
square
#3E359D #9D3560 #949D35 #359D72
split-complementary
#3E359D #9D7235 #609D35
monochromatic
#1A1641 #2C266F #3E359D #574CC3 #827AD2

Accessibility & contrast

On white

9.54
#3E359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3E359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E359D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E359D#FFFFFF#000000##FFFFFF
##3E359D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e359d;
/* rgb */ color: rgb(62, 53, 157);
/* oklch */ color: oklch(40.6% 0.162 280.2);
Tailwind
colors: {
  custom: {
    50: '#7e6dbb',
    500: '#3e359d',
    950: '#000000',
  },
}
SCSS
$custom: #3e359d;
$custom-light: #7e6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e359d",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 245.192,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.16214,
    "h": 280.2
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#3E359D
secondary
#B5BB73
accent
#D94FCD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E359D

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

Preview Lab → · Contrast checker → · Palette generator →

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