#3E5D97#3E5D97

#3E5D97 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.3% C 0.101 H 262.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3E5D97
RGBrgb(62, 93, 151)
HSLhsl(219, 42%, 42%)
HSVhsv(219, 59%, 59%)
CMYKcmyk(58.9%, 38.4%, 0%, 40.8%)
CIE-LABlab(39.73, 7.00, -35.22)
CIE-LCHlch(39.73, 35.91, 281.23°)
OKLaboklab(48.26% -0.014 -0.0998)
OKLCHoklch(48.26% 0.101 262)
XYZxyz(11.4849, 11.0863, 30.8068)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5D97 #97783E
analogous
#3E8A97 #3E5D97 #4C3E97
triadic
#3E5D97 #973E5D #5D973E
tetradic
#3E5D97 #973E8A #97783E #3E974C
square
#3E5D97 #973E8A #97783E #3E974C
split-complementary
#3E5D97 #974C3E #8A973E
monochromatic
#1A2840 #2C426C #3E5D97 #587ABA #839DCC

Accessibility & contrast

On white

6.53
#3E5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3E5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5D97
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5D97#FFFFFF#000000##FFFFFF
##3E5D971.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#395A96
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3e5d97;
/* rgb */ color: rgb(62, 93, 151);
/* oklch */ color: oklch(48.3% 0.101 262.0);
Tailwind
colors: {
  custom: {
    50: '#7b8ab6',
    500: '#3e5d97',
    950: '#000000',
  },
}
SCSS
$custom: #3e5d97;
$custom-light: #7b8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5d97",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 219.101,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.1008,
    "h": 262
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#3E5D97
secondary
#B6A27A
accent
#A756D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3E5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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