#3E4E87#3E4E87

#3E4E87 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.096 H 270.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3E4E87
RGBrgb(62, 78, 135)
HSLhsl(227, 37%, 39%)
HSVhsv(227, 54%, 53%)
CMYKcmyk(54.1%, 42.2%, 0%, 47.1%)
CIE-LABlab(34.44, 11.18, -33.89)
CIE-LCHlch(34.44, 35.69, 288.25°)
OKLaboklab(43.89% 0.0004 -0.0961)
OKLCHoklch(43.89% 0.096 270.2)
XYZxyz(9.0827, 8.2216, 24.0253)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E87 #87773E
analogous
#3E7287 #3E4E87 #523E87
triadic
#3E4E87 #873E4E #4E873E
tetradic
#3E4E87 #873E72 #87773E #3E8752
square
#3E4E87 #873E72 #87773E #3E8752
split-complementary
#3E4E87 #87523E #72873E
monochromatic
#171E33 #2B365D #3E4E87 #5267B0 #7C8CC3

Accessibility & contrast

On white

7.94
#3E4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E87
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E87#FFFFFF#000000##FFFFFF
##3E4E871.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#2F4E86
Tritanopia (blue-blind)
#1C5A64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e4e87;
/* rgb */ color: rgb(62, 78, 135);
/* oklch */ color: oklch(43.9% 0.096 270.2);
Tailwind
colors: {
  custom: {
    50: '#797faa',
    500: '#3e4e87',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e87;
$custom-light: #797faa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e87",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 226.849,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.09607,
    "h": 270.2
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#3E4E87
secondary
#ADA174
accent
#B45BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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