#3E4E8D#3E4E8D

#3E4E8D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.105 H 270.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3E4E8D
RGBrgb(62, 78, 141)
HSLhsl(228, 39%, 40%)
HSVhsv(228, 56%, 55%)
CMYKcmyk(56%, 44.7%, 0%, 44.7%)
CIE-LABlab(34.79, 13.25, -37.00)
CIE-LCHlch(34.79, 39.30, 289.70°)
OKLaboklab(44.27% 0.0016 -0.1052)
OKLCHoklch(44.27% 0.105 270.9)
XYZxyz(9.5171, 8.3953, 26.3131)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E8D #8D7D3E
analogous
#3E768D #3E4E8D #563E8D
triadic
#3E4E8D #8D3E4E #4E8D3E
tetradic
#3E4E8D #8D3E76 #8D7D3E #3E8D56
square
#3E4E8D #8D3E76 #8D7D3E #3E8D56
split-complementary
#3E4E8D #8D563E #768D3E
monochromatic
#191F38 #2B3662 #3E4E8D #5468B4 #7F8DC7

Accessibility & contrast

On white

7.84
#3E4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3E4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E8D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E8D#FFFFFF#000000##FFFFFF
##3E4E8D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#145C66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e4e8d;
/* rgb */ color: rgb(62, 78, 141);
/* oklch */ color: oklch(44.3% 0.105 270.9);
Tailwind
colors: {
  custom: {
    50: '#797faf',
    500: '#3e4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e8d;
$custom-light: #797faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e8d",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 227.848,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4427,
    "c": 0.1052,
    "h": 270.9
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#3E4E8D
secondary
#B1A576
accent
#B759CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3E4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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