#3D5B8D#3D5B8D

#3D5B8D is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.2% C 0.089 H 260.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3D5B8D
RGBrgb(61, 91, 141)
HSLhsl(218, 40%, 40%)
HSVhsv(218, 57%, 55%)
CMYKcmyk(56.7%, 35.5%, 0%, 44.7%)
CIE-LABlab(38.54, 4.59, -31.06)
CIE-LCHlch(38.54, 31.40, 278.40°)
OKLaboklab(47.15% -0.0152 -0.0877)
OKLCHoklch(47.15% 0.089 260.2)
XYZxyz(10.4716, 10.3965, 26.6490)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5B8D #8D6F3D
analogous
#3D838D #3D5B8D #473D8D
triadic
#3D5B8D #8D3D5B #5B8D3D
tetradic
#3D5B8D #8D3D83 #8D6F3D #3D8D47
square
#3D5B8D #8D3D83 #8D6F3D #3D8D47
split-complementary
#3D5B8D #8D473D #838D3D
monochromatic
#182438 #2B3F62 #3D5B8D #5377B4 #7D99C7

Accessibility & contrast

On white

6.82
#3D5B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3D5B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5B8D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5B8D#FFFFFF#000000##FFFFFF
##3D5B8D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#0A666D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d5b8d;
/* rgb */ color: rgb(61, 91, 141);
/* oklch */ color: oklch(47.2% 0.089 260.2);
Tailwind
colors: {
  custom: {
    50: '#7989ae',
    500: '#3d5b8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d5b8d;
$custom-light: #7989ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5b8d",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 141
  },
  "hsl": {
    "h": 217.5,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.08903,
    "h": 260.2
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#3D5B8D
secondary
#B19A75
accent
#A358CF
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3D5B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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