#3E358D#3E358D

#3E358D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.140 H 282.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3E358D
RGBrgb(62, 53, 141)
HSLhsl(246, 45%, 38%)
HSVhsv(246, 62%, 55%)
CMYKcmyk(56%, 62.4%, 0%, 44.7%)
CIE-LABlab(28.10, 29.66, -47.78)
CIE-LCHlch(28.10, 56.24, 301.83°)
OKLaboklab(39.24% 0.0302 -0.1371)
OKLCHoklch(39.24% 0.14 282.4)
XYZxyz(8.0659, 5.4929, 25.8294)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E358D #848D35
analogous
#35588D #3E358D #6A358D
triadic
#3E358D #8D3E35 #358D3E
tetradic
#3E358D #8D3558 #848D35 #358D6A
square
#3E358D #8D3558 #848D35 #358D6A
split-complementary
#3E358D #8D6A35 #588D35
monochromatic
#171434 #2A2461 #3E358D #5246B9 #7B72CA

Accessibility & contrast

On white

10.01
#3E358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E358D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E358D#FFFFFF#000000##FFFFFF
##3E358D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#1A4A5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e358d;
/* rgb */ color: rgb(62, 53, 141);
/* oklch */ color: oklch(39.2% 0.140 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b6daf',
    500: '#3e358d',
    950: '#000000',
  },
}
SCSS
$custom: #3e358d;
$custom-light: #7b6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e358d",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 246.136,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.14037,
    "h": 282.4
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#3E358D
secondary
#ABB26B
accent
#D553C8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E358D

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

Preview Lab → · Contrast checker → · Palette generator →

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