#3E428D#3E428D

#3E428D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.122 H 277.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3E428D
RGBrgb(62, 66, 141)
HSLhsl(237, 39%, 40%)
HSVhsv(237, 56%, 55%)
CMYKcmyk(56%, 53.2%, 0%, 44.7%)
CIE-LABlab(31.45, 21.18, -42.36)
CIE-LCHlch(31.45, 47.36, 296.56°)
OKLaboklab(41.73% 0.0157 -0.121)
OKLCHoklch(41.73% 0.122 277.4)
XYZxyz(8.7410, 6.8431, 26.0544)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E428D #8D893E
analogous
#3E6A8D #3E428D #623E8D
triadic
#3E428D #8D3E42 #428D3E
tetradic
#3E428D #8D3E6A #8D893E #3E8D62
square
#3E428D #8D3E6A #8D893E #3E8D62
split-complementary
#3E428D #8D623E #6A8D3E
monochromatic
#191A38 #2B2E62 #3E428D #5459B4 #7F82C7

Accessibility & contrast

On white

8.87
#3E428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3E428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E428D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E428D#FFFFFF#000000##FFFFFF
##3E428D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#0D478B
Tritanopia (blue-blind)
#175361
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e428d;
/* rgb */ color: rgb(62, 66, 141);
/* oklch */ color: oklch(41.7% 0.122 277.4);
Tailwind
colors: {
  custom: {
    50: '#7a76af',
    500: '#3e428d',
    950: '#000000',
  },
}
SCSS
$custom: #3e428d;
$custom-light: #7a76af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e428d",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 236.962,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.12207,
    "h": 277.4
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#3E428D
secondary
#B1AE76
accent
#C959CF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3E428D

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

Preview Lab → · Contrast checker → · Palette generator →

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