#3E358B#3E358B

#3E358B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.138 H 282.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3E358B
RGBrgb(62, 53, 139)
HSLhsl(246, 45%, 38%)
HSVhsv(246, 62%, 55%)
CMYKcmyk(55.4%, 61.9%, 0%, 45.5%)
CIE-LABlab(27.94, 28.99, -46.80)
CIE-LCHlch(27.94, 55.05, 301.78°)
OKLaboklab(39.08% 0.0303 -0.1342)
OKLCHoklch(39.08% 0.138 282.7)
XYZxyz(7.9185, 5.4340, 25.0527)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E358B #828B35
analogous
#35578B #3E358B #69358B
triadic
#3E358B #8B3E35 #358B3E
tetradic
#3E358B #8B3557 #828B35 #358B69
square
#3E358B #8B3557 #828B35 #358B69
split-complementary
#3E358B #8B6935 #578B35
monochromatic
#161332 #2A245F #3E358B #5246B7 #7B71C9

Accessibility & contrast

On white

10.06
#3E358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E358B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E358B#FFFFFF#000000##FFFFFF
##3E358B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#1C495A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e358b;
/* rgb */ color: rgb(62, 53, 139);
/* oklch */ color: oklch(39.1% 0.138 282.7);
Tailwind
colors: {
  custom: {
    50: '#7b6cae',
    500: '#3e358b',
    950: '#000000',
  },
}
SCSS
$custom: #3e358b;
$custom-light: #7b6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e358b",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 246.279,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39078,
    "c": 0.13758,
    "h": 282.7
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#3E358B
secondary
#AAB16A
accent
#D453C7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E358B

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

Preview Lab → · Contrast checker → · Palette generator →

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