#3E4F81#3E4F81

#3E4F81 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.086 H 268.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3E4F81
RGBrgb(62, 79, 129)
HSLhsl(225, 35%, 37%)
HSVhsv(225, 52%, 51%)
CMYKcmyk(51.9%, 38.8%, 0%, 49.4%)
CIE-LABlab(34.40, 8.48, -30.27)
CIE-LCHlch(34.40, 31.43, 285.66°)
OKLaboklab(43.74% -0.0022 -0.0855)
OKLCHoklch(43.74% 0.086 268.5)
XYZxyz(8.7437, 8.2005, 21.8867)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4F81 #81703E
analogous
#3E7181 #3E4F81 #4E3E81
triadic
#3E4F81 #813E4F #4F813E
tetradic
#3E4F81 #813E71 #81703E #3E814E
square
#3E4F81 #813E71 #81703E #3E814E
split-complementary
#3E4F81 #814E3E #71813E
monochromatic
#161C2E #2A3658 #3E4F81 #5268AA #7A8CBF

Accessibility & contrast

On white

7.95
#3E4F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E4F81
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4F81#FFFFFF#000000##FFFFFF
##3E4F811.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#344E80
Tritanopia (blue-blind)
#215A62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e4f81;
/* rgb */ color: rgb(62, 79, 129);
/* oklch */ color: oklch(43.7% 0.086 268.5);
Tailwind
colors: {
  custom: {
    50: '#7880a6',
    500: '#3e4f81',
    950: '#000000',
  },
}
SCSS
$custom: #3e4f81;
$custom-light: #7880a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4f81",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 129
  },
  "hsl": {
    "h": 224.776,
    "s": 35.079,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.08551,
    "h": 268.5
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#3E4F81
secondary
#A99B72
accent
#AF5DCB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3E4F81

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

Preview Lab → · Contrast checker → · Palette generator →

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