#3D5C8A#3D5C8A

#3D5C8A is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.2% C 0.084 H 258.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3D5C8A
RGBrgb(61, 92, 138)
HSLhsl(216, 39%, 39%)
HSVhsv(216, 56%, 54%)
CMYKcmyk(55.8%, 33.3%, 0%, 45.9%)
CIE-LABlab(38.69, 2.93, -29.01)
CIE-LCHlch(38.69, 29.16, 275.77°)
OKLaboklab(47.22% -0.0173 -0.0817)
OKLCHoklch(47.22% 0.084 258.1)
XYZxyz(10.3375, 10.4806, 25.5180)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5C8A #8A6B3D
analogous
#3D838A #3D5C8A #453D8A
triadic
#3D5C8A #8A3D5C #5C8A3D
tetradic
#3D5C8A #8A3D83 #8A6B3D #3D8A45
square
#3D5C8A #8A3D83 #8A6B3D #3D8A45
split-complementary
#3D5C8A #8A453D #838A3D
monochromatic
#172335 #2A4060 #3D5C8A #5279B2 #7C9AC5

Accessibility & contrast

On white

6.78
#3D5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D5C8A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5C8A#FFFFFF#000000##FFFFFF
##3D5C8A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d5c8a;
/* rgb */ color: rgb(61, 92, 138);
/* oklch */ color: oklch(47.2% 0.084 258.1);
Tailwind
colors: {
  custom: {
    50: '#7889ac',
    500: '#3d5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3d5c8a;
$custom-light: #7889ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5c8a",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 215.844,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.08355,
    "h": 258.1
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#3D5C8A
secondary
#AF9774
accent
#9F59CF
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3D5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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