#3E4E81#3E4E81

#3E4E81 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.087 H 269.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3E4E81
RGBrgb(62, 78, 129)
HSLhsl(226, 35%, 37%)
HSVhsv(226, 52%, 51%)
CMYKcmyk(51.9%, 39.5%, 0%, 49.4%)
CIE-LABlab(34.10, 9.14, -30.73)
CIE-LCHlch(34.10, 32.06, 286.56°)
OKLaboklab(43.52% -0.0009 -0.0868)
OKLCHoklch(43.52% 0.087 269.4)
XYZxyz(8.6722, 8.0573, 21.8629)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E81 #81713E
analogous
#3E6F81 #3E4E81 #503E81
triadic
#3E4E81 #813E4E #4E813E
tetradic
#3E4E81 #813E6F #81713E #3E8150
square
#3E4E81 #813E6F #81713E #3E8150
split-complementary
#3E4E81 #81503E #6F813E
monochromatic
#161C2E #2A3558 #3E4E81 #5267AA #7A8BBF

Accessibility & contrast

On white

8.04
#3E4E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3E4E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E81
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E81#FFFFFF#000000##FFFFFF
##3E4E811.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5383
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#215961
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e4e81;
/* rgb */ color: rgb(62, 78, 129);
/* oklch */ color: oklch(43.5% 0.087 269.4);
Tailwind
colors: {
  custom: {
    50: '#787fa6',
    500: '#3e4e81',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e81;
$custom-light: #787fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e81",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 225.672,
    "s": 35.079,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.08684,
    "h": 269.4
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#3E4E81
secondary
#A99C72
accent
#B15DCB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3E4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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