#3E359E#3E359E

#3E359E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.163 H 280.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3E359E
RGBrgb(62, 53, 158)
HSLhsl(245, 50%, 41%)
HSVhsv(245, 66%, 62%)
CMYKcmyk(60.8%, 66.5%, 0%, 38%)
CIE-LABlab(29.51, 35.31, -55.89)
CIE-LCHlch(29.51, 66.11, 302.28°)
OKLaboklab(40.72% 0.0287 -0.1609)
OKLCHoklch(40.72% 0.163 280.1)
XYZxyz(9.4293, 6.0383, 33.0097)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E359E #959E35
analogous
#35619E #3E359E #73359E
triadic
#3E359E #9E3E35 #359E3E
tetradic
#3E359E #9E3561 #959E35 #359E73
square
#3E359E #9E3561 #959E35 #359E73
split-complementary
#3E359E #9E7335 #619E35
monochromatic
#1A1642 #2C2670 #3E359E #574DC3 #827BD3

Accessibility & contrast

On white

9.51
#3E359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3E359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E359E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E359E#FFFFFF#000000##FFFFFF
##3E359E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e359e;
/* rgb */ color: rgb(62, 53, 158);
/* oklch */ color: oklch(40.7% 0.163 280.1);
Tailwind
colors: {
  custom: {
    50: '#7e6dbc',
    500: '#3e359e',
    950: '#000000',
  },
}
SCSS
$custom: #3e359e;
$custom-light: #7e6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e359e",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 245.143,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.16346,
    "h": 280.1
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E359E

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

Preview Lab → · Contrast checker → · Palette generator →

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