#3E4E89#3E4E89

#3E4E89 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.099 H 270.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3E4E89
RGBrgb(62, 78, 137)
HSLhsl(227, 38%, 39%)
HSVhsv(227, 55%, 54%)
CMYKcmyk(54.7%, 43.1%, 0%, 46.3%)
CIE-LABlab(34.56, 11.87, -34.93)
CIE-LCHlch(34.56, 36.89, 288.76°)
OKLaboklab(44.01% 0.0008 -0.0991)
OKLCHoklch(44.01% 0.099 270.5)
XYZxyz(9.2249, 8.2784, 24.7738)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E89 #89793E
analogous
#3E7489 #3E4E89 #543E89
triadic
#3E4E89 #893E4E #4E893E
tetradic
#3E4E89 #893E74 #89793E #3E8954
square
#3E4E89 #893E74 #89793E #3E8954
split-complementary
#3E4E89 #89543E #74893E
monochromatic
#181E35 #2B365F #3E4E89 #5367B1 #7D8CC4

Accessibility & contrast

On white

7.91
#3E4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3E4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E89
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E89#FFFFFF#000000##FFFFFF
##3E4E891.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558B
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#195B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e4e89;
/* rgb */ color: rgb(62, 78, 137);
/* oklch */ color: oklch(44.0% 0.099 270.5);
Tailwind
colors: {
  custom: {
    50: '#797fac',
    500: '#3e4e89',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e89;
$custom-light: #797fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e89",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 227.2,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.09912,
    "h": 270.5
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#3E4E89
secondary
#AEA274
accent
#B55ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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