#3E4580#3E4580

#3E4580 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.5% C 0.098 H 276.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3E4580
RGBrgb(62, 69, 128)
HSLhsl(234, 35%, 37%)
HSVhsv(234, 52%, 50%)
CMYKcmyk(51.6%, 46.1%, 0%, 49.8%)
CIE-LABlab(31.44, 14.75, -34.34)
CIE-LCHlch(31.44, 37.38, 293.24°)
OKLaboklab(41.45% 0.0105 -0.0975)
OKLCHoklch(41.45% 0.098 276.1)
XYZxyz(8.0098, 6.8384, 21.3158)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4580 #80793E
analogous
#3E6680 #3E4580 #583E80
triadic
#3E4580 #803E45 #45803E
tetradic
#3E4580 #803E66 #80793E #3E8058
square
#3E4580 #803E66 #80793E #3E8058
split-complementary
#3E4580 #80583E #66803E
monochromatic
#16192E #2A2F57 #3E4580 #525BA9 #7A81BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E4580#FFFFFF#000000##FFFFFF
##3E45801.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)
#2D4D82
Deuteranopia (green-blind)
#26477F
Tritanopia (blue-blind)
#24525C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e4580;
/* rgb */ color: rgb(62, 69, 128);
/* oklch */ color: oklch(41.5% 0.098 276.1);
Tailwind
colors: {
  custom: {
    50: '#7878a5',
    500: '#3e4580',
    950: '#000000',
  },
}
SCSS
$custom: #3e4580;
$custom-light: #7878a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4580",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 233.636,
    "s": 34.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41453,
    "c": 0.09804,
    "h": 276.1
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#3E4580
secondary
#A9A371
accent
#BF5DCB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3E4580

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

Preview Lab → · Contrast checker → · Palette generator →

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