#3D5E97#3D5E97

#3D5E97 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.4% C 0.100 H 260.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3D5E97
RGBrgb(61, 94, 151)
HSLhsl(218, 42%, 42%)
HSVhsv(218, 60%, 59%)
CMYKcmyk(59.6%, 37.7%, 0%, 40.8%)
CIE-LABlab(39.97, 6.14, -34.84)
CIE-LCHlch(39.97, 35.38, 280.00°)
OKLaboklab(48.43% -0.0161 -0.0987)
OKLCHoklch(48.43% 0.1 260.7)
XYZxyz(11.5111, 11.2309, 30.8333)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5E97 #97763D
analogous
#3D8B97 #3D5E97 #493D97
triadic
#3D5E97 #973D5E #5E973D
tetradic
#3D5E97 #973D8B #97763D #3D9749
square
#3D5E97 #973D8B #97763D #3D9749
split-complementary
#3D5E97 #97493D #8B973D
monochromatic
#1A2840 #2B436B #3D5E97 #567BBB #829DCC

Accessibility & contrast

On white

6.47
#3D5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3D5E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5E97
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5E97#FFFFFF#000000##FFFFFF
##3D5E971.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d5e97;
/* rgb */ color: rgb(61, 94, 151);
/* oklch */ color: oklch(48.4% 0.100 260.7);
Tailwind
colors: {
  custom: {
    50: '#7a8bb6',
    500: '#3d5e97',
    950: '#000000',
  },
}
SCSS
$custom: #3d5e97;
$custom-light: #7a8bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5e97",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 218,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.10003,
    "h": 260.7
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#3D5E97
secondary
#B7A079
accent
#A556D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3D5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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