#3E419E#3E419E

#3E419E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.148 H 276.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3E419E
RGBrgb(62, 65, 158)
HSLhsl(238, 44%, 43%)
HSVhsv(238, 61%, 62%)
CMYKcmyk(60.8%, 58.9%, 0%, 38%)
CIE-LABlab(32.42, 27.70, -51.15)
CIE-LCHlch(32.42, 58.17, 298.44°)
OKLaboklab(42.85% 0.0174 -0.1469)
OKLCHoklch(42.85% 0.148 276.8)
XYZxyz(10.0465, 7.2726, 33.2155)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E419E #9E9B3E
analogous
#3E719E #3E419E #6B3E9E
triadic
#3E419E #9E3E41 #419E3E
tetradic
#3E419E #9E3E71 #9E9B3E #3E9E6B
square
#3E419E #9E3E71 #9E9B3E #3E9E6B
split-complementary
#3E419E #9E6B3E #719E3E
monochromatic
#1C1D46 #2D2F72 #3E419E #5B5EBF #8789D0

Accessibility & contrast

On white

8.56
#3E419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3E419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E419E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E419E#FFFFFF#000000##FFFFFF
##3E419E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e419e;
/* rgb */ color: rgb(62, 65, 158);
/* oklch */ color: oklch(42.9% 0.148 276.8);
Tailwind
colors: {
  custom: {
    50: '#7d75bb',
    500: '#3e419e',
    950: '#000000',
  },
}
SCSS
$custom: #3e419e;
$custom-light: #7d75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e419e",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 238.125,
    "s": 43.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.14796,
    "h": 276.8
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#3E419E
secondary
#BAB87E
accent
#CF54D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3E419E

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

Preview Lab → · Contrast checker → · Palette generator →

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