#3E5A8E#3E5A8E

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

Color values

HEX#3E5A8E
RGBrgb(62, 90, 142)
HSLhsl(219, 39%, 40%)
HSVhsv(219, 56%, 56%)
CMYKcmyk(56.3%, 36.6%, 0%, 44.3%)
CIE-LABlab(38.36, 5.80, -31.96)
CIE-LCHlch(38.36, 32.48, 280.29°)
OKLaboklab(47.04% -0.0127 -0.0903)
OKLCHoklch(47.04% 0.091 262)
XYZxyz(10.5236, 10.2886, 27.0173)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5A8E #8E723E
analogous
#3E828E #3E5A8E #4A3E8E
triadic
#3E5A8E #8E3E5A #5A8E3E
tetradic
#3E5A8E #8E3E82 #8E723E #3E8E4A
square
#3E5A8E #8E3E82 #8E723E #3E8E4A
split-complementary
#3E5A8E #8E4A3E #828E3E
monochromatic
#192439 #2B3F63 #3E5A8E #5576B5 #7F98C7

Accessibility & contrast

On white

6.87
#3E5A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3E5A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5A8E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5A8E#FFFFFF#000000##FFFFFF
##3E5A8E1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E90
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#0E656D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e5a8e;
/* rgb */ color: rgb(62, 90, 142);
/* oklch */ color: oklch(47.0% 0.091 262.0);
Tailwind
colors: {
  custom: {
    50: '#7988af',
    500: '#3e5a8e',
    950: '#000000',
  },
}
SCSS
$custom: #3e5a8e;
$custom-light: #7988af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5a8e",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 142
  },
  "hsl": {
    "h": 219,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.47036,
    "c": 0.09122,
    "h": 262
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#3E5A8E
secondary
#B19D76
accent
#A659CF
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3E5A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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