#3E5A8D#3E5A8D

#3E5A8D is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.0% C 0.090 H 261.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3E5A8D
RGBrgb(62, 90, 141)
HSLhsl(219, 39%, 40%)
HSVhsv(219, 56%, 55%)
CMYKcmyk(56%, 36.2%, 0%, 44.7%)
CIE-LABlab(38.30, 5.46, -31.44)
CIE-LCHlch(38.30, 31.91, 279.85°)
OKLaboklab(46.98% -0.013 -0.0888)
OKLCHoklch(46.98% 0.09 261.7)
XYZxyz(10.4489, 10.2587, 26.6237)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5A8D #8D713E
analogous
#3E828D #3E5A8D #4A3E8D
triadic
#3E5A8D #8D3E5A #5A8D3E
tetradic
#3E5A8D #8D3E82 #8D713E #3E8D4A
square
#3E5A8D #8D3E82 #8D713E #3E8D4A
split-complementary
#3E5A8D #8D4A3E #828D3E
monochromatic
#192438 #2B3F62 #3E5A8D #5476B4 #7F98C7

Accessibility & contrast

On white

6.88
#3E5A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3E5A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5A8D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5A8D#FFFFFF#000000##FFFFFF
##3E5A8D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8F
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#10656D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e5a8d;
/* rgb */ color: rgb(62, 90, 141);
/* oklch */ color: oklch(47.0% 0.090 261.7);
Tailwind
colors: {
  custom: {
    50: '#7988ae',
    500: '#3e5a8d',
    950: '#000000',
  },
}
SCSS
$custom: #3e5a8d;
$custom-light: #7988ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5a8d",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 218.734,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.08976,
    "h": 261.7
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#3E5A8D
secondary
#B19C76
accent
#A559CF
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3E5A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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