#3E409E#3E409E

#3E409E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.149 H 277.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3E409E
RGBrgb(62, 64, 158)
HSLhsl(239, 44%, 43%)
HSVhsv(239, 61%, 62%)
CMYKcmyk(60.8%, 59.5%, 0%, 38%)
CIE-LABlab(32.17, 28.35, -51.56)
CIE-LCHlch(32.17, 58.84, 298.80°)
OKLaboklab(42.66% 0.0184 -0.1481)
OKLCHoklch(42.66% 0.149 277.1)
XYZxyz(9.9896, 7.1588, 33.1965)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E409E #9E9C3E
analogous
#3E709E #3E409E #6C3E9E
triadic
#3E409E #9E3E40 #409E3E
tetradic
#3E409E #9E3E70 #9E9C3E #3E9E6C
square
#3E409E #9E3E70 #9E9C3E #3E9E6C
split-complementary
#3E409E #9E6C3E #709E3E
monochromatic
#1C1C46 #2D2E72 #3E409E #5B5DBF #8788D0

Accessibility & contrast

On white

8.63
#3E409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3E409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E409E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E409E#FFFFFF#000000##FFFFFF
##3E409E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e409e;
/* rgb */ color: rgb(62, 64, 158);
/* oklch */ color: oklch(42.7% 0.149 277.1);
Tailwind
colors: {
  custom: {
    50: '#7d75bb',
    500: '#3e409e',
    950: '#000000',
  },
}
SCSS
$custom: #3e409e;
$custom-light: #7d75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e409e",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 238.75,
    "s": 43.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42663,
    "c": 0.14929,
    "h": 277.1
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#3E409E
secondary
#BAB97E
accent
#D154D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3E409E

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

Preview Lab → · Contrast checker → · Palette generator →

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