#3D5897#3D5897

#3D5897 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.107 H 265.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3D5897
RGBrgb(61, 88, 151)
HSLhsl(222, 42%, 42%)
HSVhsv(222, 60%, 59%)
CMYKcmyk(59.6%, 41.7%, 0%, 40.8%)
CIE-LABlab(38.21, 9.99, -37.63)
CIE-LCHlch(38.21, 38.94, 284.87°)
OKLaboklab(47.07% -0.0092 -0.1069)
OKLCHoklch(47.07% 0.107 265.1)
XYZxyz(10.9982, 10.2050, 30.6623)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5897 #977C3D
analogous
#3D8597 #3D5897 #4F3D97
triadic
#3D5897 #973D58 #58973D
tetradic
#3D5897 #973D85 #977C3D #3D974F
square
#3D5897 #973D85 #977C3D #3D974F
split-complementary
#3D5897 #974F3D #85973D
monochromatic
#1A2540 #2B3F6B #3D5897 #5674BB #8298CC

Accessibility & contrast

On white

6.91
#3D5897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3D5897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5897
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5897#FFFFFF#000000##FFFFFF
##3D58971.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d5897;
/* rgb */ color: rgb(61, 88, 151);
/* oklch */ color: oklch(47.1% 0.107 265.1);
Tailwind
colors: {
  custom: {
    50: '#7a86b6',
    500: '#3d5897',
    950: '#000000',
  },
}
SCSS
$custom: #3d5897;
$custom-light: #7a86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5897",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 222,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47069,
    "c": 0.10735,
    "h": 265.1
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#3D5897
secondary
#B7A479
accent
#AD56D2
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3D5897

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

Preview Lab → · Contrast checker → · Palette generator →

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