#3E419D#3E419D

#3E419D is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.147 H 276.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3E419D
RGBrgb(62, 65, 157)
HSLhsl(238, 43%, 43%)
HSVhsv(238, 61%, 62%)
CMYKcmyk(60.5%, 58.6%, 0%, 38.4%)
CIE-LABlab(32.34, 27.36, -50.67)
CIE-LCHlch(32.34, 57.58, 298.36°)
OKLaboklab(42.77% 0.0174 -0.1455)
OKLCHoklch(42.77% 0.147 276.8)
XYZxyz(9.9607, 7.2383, 32.7640)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E419D #9D9A3E
analogous
#3E709D #3E419D #6A3E9D
triadic
#3E419D #9D3E41 #419D3E
tetradic
#3E419D #9D3E70 #9D9A3E #3E9D6A
square
#3E419D #9D3E70 #9D9A3E #3E9D6A
split-complementary
#3E419D #9D6A3E #709D3E
monochromatic
#1B1D45 #2D2F71 #3E419D #5A5DBE #8688CF

Accessibility & contrast

On white

8.58
#3E419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3E419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E419D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E419D#FFFFFF#000000##FFFFFF
##3E419D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e419d;
/* rgb */ color: rgb(62, 65, 157);
/* oklch */ color: oklch(42.8% 0.147 276.8);
Tailwind
colors: {
  custom: {
    50: '#7d75bb',
    500: '#3e419d',
    950: '#000000',
  },
}
SCSS
$custom: #3e419d;
$custom-light: #7d75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e419d",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 238.105,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.14655,
    "h": 276.8
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#3E419D
secondary
#BAB87D
accent
#CF55D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3E419D

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

Preview Lab → · Contrast checker → · Palette generator →

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