#3E409D#3E409D

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

Color values

HEX#3E409D
RGBrgb(62, 64, 157)
HSLhsl(239, 43%, 43%)
HSVhsv(239, 61%, 62%)
CMYKcmyk(60.5%, 59.2%, 0%, 38.4%)
CIE-LABlab(32.09, 28.00, -51.08)
CIE-LCHlch(32.09, 58.26, 298.73°)
OKLaboklab(42.58% 0.0184 -0.1467)
OKLCHoklch(42.58% 0.148 277.2)
XYZxyz(9.9038, 7.1245, 32.7450)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E409D #9D9B3E
analogous
#3E6F9D #3E409D #6B3E9D
triadic
#3E409D #9D3E40 #409D3E
tetradic
#3E409D #9D3E6F #9D9B3E #3E9D6B
square
#3E409D #9D3E6F #9D9B3E #3E9D6B
split-complementary
#3E409D #9D6B3E #6F9D3E
monochromatic
#1B1C45 #2D2E71 #3E409D #5A5CBE #8688CF

Accessibility & contrast

On white

8.66
#3E409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E409D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E409D#FFFFFF#000000##FFFFFF
##3E409D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e409d;
/* rgb */ color: rgb(62, 64, 157);
/* oklch */ color: oklch(42.6% 0.148 277.2);
Tailwind
colors: {
  custom: {
    50: '#7d75bb',
    500: '#3e409d',
    950: '#000000',
  },
}
SCSS
$custom: #3e409d;
$custom-light: #7d75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e409d",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 238.737,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.14788,
    "h": 277.2
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#3E409D
secondary
#BAB87D
accent
#D055D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3E409D

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

Preview Lab → · Contrast checker → · Palette generator →

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