#3E409B#3E409B

#3E409B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.145 H 277.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3E409B
RGBrgb(62, 64, 155)
HSLhsl(239, 43%, 43%)
HSVhsv(239, 60%, 61%)
CMYKcmyk(60%, 58.7%, 0%, 39.2%)
CIE-LABlab(31.94, 27.31, -50.12)
CIE-LCHlch(31.94, 57.08, 298.59°)
OKLaboklab(42.42% 0.0184 -0.1439)
OKLCHoklch(42.42% 0.145 277.3)
XYZxyz(9.7345, 7.0568, 31.8531)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E409B #9B993E
analogous
#3E6E9B #3E409B #6B3E9B
triadic
#3E409B #9B3E40 #409B3E
tetradic
#3E409B #9B3E6E #9B993E #3E9B6B
square
#3E409B #9B3E6E #9B993E #3E9B6B
split-complementary
#3E409B #9B6B3E #6E9B3E
monochromatic
#1B1C44 #2D2E6F #3E409B #595CBD #8587CE

Accessibility & contrast

On white

8.71
#3E409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3E409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E409B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E409B#FFFFFF#000000##FFFFFF
##3E409B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e409b;
/* rgb */ color: rgb(62, 64, 155);
/* oklch */ color: oklch(42.4% 0.145 277.3);
Tailwind
colors: {
  custom: {
    50: '#7d75b9',
    500: '#3e409b',
    950: '#000000',
  },
}
SCSS
$custom: #3e409b;
$custom-light: #7d75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e409b",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 238.71,
    "s": 42.857,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.14508,
    "h": 277.3
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#3E409B
secondary
#B9B77C
accent
#D055D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3E409B

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

Preview Lab → · Contrast checker → · Palette generator →

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