#3E428E#3E428E

#3E428E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.124 H 277.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3E428E
RGBrgb(62, 66, 142)
HSLhsl(237, 39%, 40%)
HSVhsv(237, 56%, 56%)
CMYKcmyk(56.3%, 53.5%, 0%, 44.3%)
CIE-LABlab(31.52, 21.52, -42.86)
CIE-LCHlch(31.52, 47.96, 296.66°)
OKLaboklab(41.81% 0.0158 -0.1225)
OKLCHoklch(41.81% 0.124 277.4)
XYZxyz(8.8158, 6.8730, 26.4480)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E428E #8E8A3E
analogous
#3E6A8E #3E428E #623E8E
triadic
#3E428E #8E3E42 #428E3E
tetradic
#3E428E #8E3E6A #8E8A3E #3E8E62
square
#3E428E #8E3E6A #8E8A3E #3E8E62
split-complementary
#3E428E #8E623E #6A8E3E
monochromatic
#191A39 #2B2E63 #3E428E #5559B5 #7F83C7

Accessibility & contrast

On white

8.84
#3E428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E428E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E428E#FFFFFF#000000##FFFFFF
##3E428E1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D91
Deuteranopia (green-blind)
#0A478C
Tritanopia (blue-blind)
#165361
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e428e;
/* rgb */ color: rgb(62, 66, 142);
/* oklch */ color: oklch(41.8% 0.124 277.4);
Tailwind
colors: {
  custom: {
    50: '#7a76b0',
    500: '#3e428e',
    950: '#000000',
  },
}
SCSS
$custom: #3e428e;
$custom-light: #7a76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e428e",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 237,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.12355,
    "h": 277.4
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#3E428E
secondary
#B1AE76
accent
#C959CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3E428E

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

Preview Lab → · Contrast checker → · Palette generator →

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