#3E428F#3E428F

#3E428F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.125 H 277.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3E428F
RGBrgb(62, 66, 143)
HSLhsl(237, 40%, 40%)
HSVhsv(237, 57%, 56%)
CMYKcmyk(56.6%, 53.8%, 0%, 43.9%)
CIE-LABlab(31.59, 21.87, -43.37)
CIE-LCHlch(31.59, 48.57, 296.76°)
OKLaboklab(41.88% 0.0159 -0.124)
OKLCHoklch(41.88% 0.125 277.3)
XYZxyz(8.8912, 6.9031, 26.8452)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E428F #8F8B3E
analogous
#3E6A8F #3E428F #623E8F
triadic
#3E428F #8F3E42 #428F3E
tetradic
#3E428F #8F3E6A #8F8B3E #3E8F62
square
#3E428F #8F3E6A #8F8B3E #3E8F62
split-complementary
#3E428F #8F623E #6A8F3E
monochromatic
#191B3A #2B2E64 #3E428F #555AB5 #8083C8

Accessibility & contrast

On white

8.82
#3E428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E428F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E428F#FFFFFF#000000##FFFFFF
##3E428F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#06478D
Tritanopia (blue-blind)
#145362
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e428f;
/* rgb */ color: rgb(62, 66, 143);
/* oklch */ color: oklch(41.9% 0.125 277.3);
Tailwind
colors: {
  custom: {
    50: '#7a76b0',
    500: '#3e428f',
    950: '#000000',
  },
}
SCSS
$custom: #3e428f;
$custom-light: #7a76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e428f",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 237.037,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41881,
    "c": 0.12502,
    "h": 277.3
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#3E428F
secondary
#B2AF77
accent
#CA58CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3E428F

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

Preview Lab → · Contrast checker → · Palette generator →

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