#3E4290#3E4290

#3E4290 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.126 H 277.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3E4290
RGBrgb(62, 66, 144)
HSLhsl(237, 40%, 40%)
HSVhsv(237, 57%, 56%)
CMYKcmyk(56.9%, 54.2%, 0%, 43.5%)
CIE-LABlab(31.66, 22.21, -43.87)
CIE-LCHlch(31.66, 49.17, 296.85°)
OKLaboklab(41.96% 0.016 -0.1255)
OKLCHoklch(41.96% 0.126 277.2)
XYZxyz(8.9673, 6.9336, 27.2459)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4290 #908C3E
analogous
#3E6B90 #3E4290 #633E90
triadic
#3E4290 #903E42 #42903E
tetradic
#3E4290 #903E6B #908C3E #3E9063
square
#3E4290 #903E6B #908C3E #3E9063
split-complementary
#3E4290 #90633E #6B903E
monochromatic
#191B3A #2C2E65 #3E4290 #555AB6 #8084C8

Accessibility & contrast

On white

8.80
#3E4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4290
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4290#FFFFFF#000000##FFFFFF
##3E42901.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E93
Deuteranopia (green-blind)
#03478E
Tritanopia (blue-blind)
#135462
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e4290;
/* rgb */ color: rgb(62, 66, 144);
/* oklch */ color: oklch(42.0% 0.126 277.2);
Tailwind
colors: {
  custom: {
    50: '#7b76b1',
    500: '#3e4290',
    950: '#000000',
  },
}
SCSS
$custom: #3e4290;
$custom-light: #7b76b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4290",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 237.073,
    "s": 39.806,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41955,
    "c": 0.12649,
    "h": 277.2
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#3E4290
secondary
#B2B077
accent
#CA58D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3E4290

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

Preview Lab → · Contrast checker → · Palette generator →

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