#3D587F#3D587F

#3D587F is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.7% C 0.072 H 257.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3D587F
RGBrgb(61, 88, 127)
HSLhsl(215, 35%, 37%)
HSVhsv(215, 52%, 50%)
CMYKcmyk(52%, 30.7%, 0%, 50.2%)
CIE-LABlab(36.94, 1.76, -25.05)
CIE-LCHlch(36.94, 25.12, 274.03°)
OKLaboklab(45.67% -0.0155 -0.0703)
OKLCHoklch(45.67% 0.072 257.5)
XYZxyz(9.2437, 9.5032, 21.4218)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D587F #7F643D
analogous
#3D797F #3D587F #433D7F
triadic
#3D587F #7F3D58 #587F3D
tetradic
#3D587F #7F3D79 #7F643D #3D7F43
square
#3D587F #7F3D79 #7F643D #3D7F43
split-complementary
#3D587F #7F433D #797F3D
monochromatic
#151F2C #293B56 #3D587F #5175A8 #7895BE

Accessibility & contrast

On white

7.24
#3D587F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3D587F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D587F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D587F#FFFFFF#000000##FFFFFF
##3D587F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A81
Deuteranopia (green-blind)
#41547E
Tritanopia (blue-blind)
#1E6166
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d587f;
/* rgb */ color: rgb(61, 88, 127);
/* oklch */ color: oklch(45.7% 0.072 257.5);
Tailwind
colors: {
  custom: {
    50: '#7786a4',
    500: '#3d587f',
    950: '#000000',
  },
}
SCSS
$custom: #3d587f;
$custom-light: #7786a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d587f",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 215.455,
    "s": 35.106,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.072,
    "h": 257.5
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#3D587F
secondary
#A89170
accent
#9E5DCB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #3D587F

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

Preview Lab → · Contrast checker → · Palette generator →

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