#3E5C8A#3E5C8A

#3E5C8A is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.3% C 0.083 H 258.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3E5C8A
RGBrgb(62, 92, 138)
HSLhsl(216, 38%, 39%)
HSVhsv(216, 55%, 54%)
CMYKcmyk(55.1%, 33.3%, 0%, 45.9%)
CIE-LABlab(38.75, 3.17, -28.92)
CIE-LCHlch(38.75, 29.09, 276.25°)
OKLaboklab(47.27% -0.0163 -0.0815)
OKLCHoklch(47.27% 0.083 258.7)
XYZxyz(10.3996, 10.5126, 25.5209)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5C8A #8A6C3E
analogous
#3E828A #3E5C8A #463E8A
triadic
#3E5C8A #8A3E5C #5C8A3E
tetradic
#3E5C8A #8A3E82 #8A6C3E #3E8A46
square
#3E5C8A #8A3E82 #8A6C3E #3E8A46
split-complementary
#3E5C8A #8A463E #828A3E
monochromatic
#182436 #2B4060 #3E5C8A #5379B2 #7E9AC5

Accessibility & contrast

On white

6.77
#3E5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3E5C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5C8A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5C8A#FFFFFF#000000##FFFFFF
##3E5C8A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#405889
Tritanopia (blue-blind)
#14666D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e5c8a;
/* rgb */ color: rgb(62, 92, 138);
/* oklch */ color: oklch(47.3% 0.083 258.7);
Tailwind
colors: {
  custom: {
    50: '#7989ac',
    500: '#3e5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3e5c8a;
$custom-light: #7989ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5c8a",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 216.316,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.08308,
    "h": 258.7
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#3E5C8A
secondary
#AF9875
accent
#A05ACE
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3E5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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