#3E409F#3E409F

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

Color values

HEX#3E409F
RGBrgb(62, 64, 159)
HSLhsl(239, 44%, 43%)
HSVhsv(239, 61%, 62%)
CMYKcmyk(61%, 59.7%, 0%, 37.6%)
CIE-LABlab(32.24, 28.69, -52.04)
CIE-LCHlch(32.24, 59.43, 298.87°)
OKLaboklab(42.74% 0.0184 -0.1495)
OKLCHoklch(42.74% 0.151 277)
XYZxyz(10.0760, 7.1934, 33.6517)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E409F #9F9D3E
analogous
#3E709F #3E409F #6C3E9F
triadic
#3E409F #9F3E40 #409F3E
tetradic
#3E409F #9F3E70 #9F9D3E #3E9F6C
square
#3E409F #9F3E70 #9F9D3E #3E9F6C
split-complementary
#3E409F #9F6C3E #709F3E
monochromatic
#1C1D47 #2D2E73 #3E409F #5B5DBF #8789D0

Accessibility & contrast

On white

8.61
#3E409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3E409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E409F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E409F#FFFFFF#000000##FFFFFF
##3E409F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e409f;
/* rgb */ color: rgb(62, 64, 159);
/* oklch */ color: oklch(42.7% 0.151 277.0);
Tailwind
colors: {
  custom: {
    50: '#7d75bc',
    500: '#3e409f',
    950: '#000000',
  },
}
SCSS
$custom: #3e409f;
$custom-light: #7d75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e409f",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 238.763,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.15068,
    "h": 277
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#3E409F
secondary
#BBB97E
accent
#D154D4
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3E409F

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

Preview Lab → · Contrast checker → · Palette generator →

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