#3D507A#3D507A

#3D507A is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.074 H 265.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3D507A
RGBrgb(61, 80, 122)
HSLhsl(221, 33%, 36%)
HSVhsv(221, 50%, 48%)
CMYKcmyk(50%, 34.4%, 0%, 52.2%)
CIE-LABlab(34.26, 5.23, -26.16)
CIE-LCHlch(34.26, 26.68, 281.31°)
OKLaboklab(43.5% -0.0065 -0.0735)
OKLCHoklch(43.5% 0.074 265)
XYZxyz(8.3048, 8.1340, 19.5410)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D507A #7A673D
analogous
#3D6E7A #3D507A #483D7A
triadic
#3D507A #7A3D50 #507A3D
tetradic
#3D507A #7A3D6E #7A673D #3D7A48
square
#3D507A #7A3D6E #7A673D #3D7A48
split-complementary
#3D507A #7A483D #6E7A3D
monochromatic
#141A28 #293551 #3D507A #516BA3 #778CBB

Accessibility & contrast

On white

7.99
#3D507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3D507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D507A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D507A#FFFFFF#000000##FFFFFF
##3D507A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547C
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#24595F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d507a;
/* rgb */ color: rgb(61, 80, 122);
/* oklch */ color: oklch(43.5% 0.074 265.0);
Tailwind
colors: {
  custom: {
    50: '#7680a0',
    500: '#3d507a',
    950: '#000000',
  },
}
SCSS
$custom: #3d507a;
$custom-light: #7680a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d507a",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 221.311,
    "s": 33.333,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.07382,
    "h": 265
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#3D507A
secondary
#A5946E
accent
#A85EC9
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0F
muted
#7B7C7E

Preview Lab

Preview with #3D507A

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

Preview Lab → · Contrast checker → · Palette generator →

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