#3E5C8D#3E5C8D

#3E5C8D is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.4% C 0.087 H 259.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3E5C8D
RGBrgb(62, 92, 141)
HSLhsl(217, 39%, 40%)
HSVhsv(217, 56%, 55%)
CMYKcmyk(56%, 34.8%, 0%, 44.7%)
CIE-LABlab(38.90, 4.19, -30.50)
CIE-LCHlch(38.90, 30.78, 277.81°)
OKLaboklab(47.44% -0.0154 -0.0861)
OKLCHoklch(47.44% 0.087 259.8)
XYZxyz(10.6198, 10.6007, 26.6806)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5C8D #8D6F3E
analogous
#3E848D #3E5C8D #483E8D
triadic
#3E5C8D #8D3E5C #5C8D3E
tetradic
#3E5C8D #8D3E84 #8D6F3E #3E8D48
square
#3E5C8D #8D3E84 #8D6F3E #3E8D48
split-complementary
#3E5C8D #8D483E #848D3E
monochromatic
#192538 #2B4062 #3E5C8D #5479B4 #7F9AC7

Accessibility & contrast

On white

6.73
#3E5C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3E5C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5C8D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5C8D#FFFFFF#000000##FFFFFF
##3E5C8D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#3F588C
Tritanopia (blue-blind)
#0F676E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e5c8d;
/* rgb */ color: rgb(62, 92, 141);
/* oklch */ color: oklch(47.4% 0.087 259.8);
Tailwind
colors: {
  custom: {
    50: '#7989ae',
    500: '#3e5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3e5c8d;
$custom-light: #7989ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5c8d",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 217.215,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.08743,
    "h": 259.8
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#3E5C8D
secondary
#B19A76
accent
#A259CF
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3E5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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