#3D5A91#3D5A91

#3D5A91 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.2% C 0.096 H 262.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3D5A91
RGBrgb(61, 90, 145)
HSLhsl(219, 41%, 40%)
HSVhsv(219, 58%, 57%)
CMYKcmyk(57.9%, 37.9%, 0%, 43.1%)
CIE-LABlab(38.46, 6.61, -33.61)
CIE-LCHlch(38.46, 34.26, 281.12°)
OKLaboklab(47.15% -0.0129 -0.0952)
OKLCHoklch(47.15% 0.096 262.3)
XYZxyz(10.6897, 10.3479, 28.2166)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5A91 #91743D
analogous
#3D8491 #3D5A91 #4A3D91
triadic
#3D5A91 #913D5A #5A913D
tetradic
#3D5A91 #913D84 #91743D #3D914A
square
#3D5A91 #913D84 #91743D #3D914A
split-complementary
#3D5A91 #914A3D #84913D
monochromatic
#19253B #2B3F66 #3D5A91 #5476B7 #7F99C9

Accessibility & contrast

On white

6.84
#3D5A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3D5A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5A91
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5A91#FFFFFF#000000##FFFFFF
##3D5A911.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F93
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d5a91;
/* rgb */ color: rgb(61, 90, 145);
/* oklch */ color: oklch(47.2% 0.096 262.3);
Tailwind
colors: {
  custom: {
    50: '#7988b1',
    500: '#3d5a91',
    950: '#000000',
  },
}
SCSS
$custom: #3d5a91;
$custom-light: #7988b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5a91",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 219.286,
    "s": 40.777,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.09605,
    "h": 262.3
  },
  "luminance": 0.10349
}

Semantic roles & 50–950 ramp

primary
#3D5A91
secondary
#B39E77
accent
#A757D1
background
#F7F8FA
surface
#EEEFF5
border
#C9CACF
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3D5A91

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

Preview Lab → · Contrast checker → · Palette generator →

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