#3E358E#3E358E

#3E358E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.142 H 282.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3E358E
RGBrgb(62, 53, 142)
HSLhsl(246, 46%, 38%)
HSVhsv(246, 63%, 56%)
CMYKcmyk(56.3%, 62.7%, 0%, 44.3%)
CIE-LABlab(28.18, 29.99, -48.27)
CIE-LCHlch(28.18, 56.83, 301.85°)
OKLaboklab(39.33% 0.0301 -0.1385)
OKLCHoklch(39.33% 0.142 282.3)
XYZxyz(8.1407, 5.5228, 26.2230)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E358E #858E35
analogous
#35588E #3E358E #6A358E
triadic
#3E358E #8E3E35 #358E3E
tetradic
#3E358E #8E3558 #858E35 #358E6A
square
#3E358E #8E3558 #858E35 #358E6A
split-complementary
#3E358E #8E6A35 #588E35
monochromatic
#171435 #2B2461 #3E358E #5246BA #7C73CB

Accessibility & contrast

On white

9.98
#3E358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E358E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E358E#FFFFFF#000000##FFFFFF
##3E358E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#184A5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e358e;
/* rgb */ color: rgb(62, 53, 142);
/* oklch */ color: oklch(39.3% 0.142 282.3);
Tailwind
colors: {
  custom: {
    50: '#7b6db0',
    500: '#3e358e',
    950: '#000000',
  },
}
SCSS
$custom: #3e358e;
$custom-light: #7b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e358e",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 246.067,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.14177,
    "h": 282.3
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#3E358E
secondary
#ACB36C
accent
#D552C8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E358E

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

Preview Lab → · Contrast checker → · Palette generator →

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