#3E409C#3E409C

#3E409C is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.146 H 277.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3E409C
RGBrgb(62, 64, 156)
HSLhsl(239, 43%, 43%)
HSVhsv(239, 60%, 61%)
CMYKcmyk(60.3%, 59%, 0%, 38.8%)
CIE-LABlab(32.01, 27.66, -50.60)
CIE-LCHlch(32.01, 57.67, 298.66°)
OKLaboklab(42.5% 0.0184 -0.1453)
OKLCHoklch(42.5% 0.146 277.2)
XYZxyz(9.8188, 7.0905, 32.2972)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E409C #9C9A3E
analogous
#3E6F9C #3E409C #6B3E9C
triadic
#3E409C #9C3E40 #409C3E
tetradic
#3E409C #9C3E6F #9C9A3E #3E9C6B
square
#3E409C #9C3E6F #9C9A3E #3E9C6B
split-complementary
#3E409C #9C6B3E #6F9C3E
monochromatic
#1B1C44 #2D2E70 #3E409C #5A5CBD #8687CF

Accessibility & contrast

On white

8.68
#3E409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3E409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E409C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E409C#FFFFFF#000000##FFFFFF
##3E409C1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e409c;
/* rgb */ color: rgb(62, 64, 156);
/* oklch */ color: oklch(42.5% 0.146 277.2);
Tailwind
colors: {
  custom: {
    50: '#7d75ba',
    500: '#3e409c',
    950: '#000000',
  },
}
SCSS
$custom: #3e409c;
$custom-light: #7d75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e409c",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 238.723,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.14649,
    "h": 277.2
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#3E409C
secondary
#B9B87D
accent
#D055D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3E409C

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

Preview Lab → · Contrast checker → · Palette generator →

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