#3D508A#3D508A

#3D508A is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.098 H 268.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3D508A
RGBrgb(61, 80, 138)
HSLhsl(225, 39%, 39%)
HSVhsv(225, 56%, 54%)
CMYKcmyk(55.8%, 42%, 0%, 45.9%)
CIE-LABlab(35.13, 10.66, -34.64)
CIE-LCHlch(35.13, 36.24, 287.11°)
OKLaboklab(44.46% -0.0025 -0.0983)
OKLCHoklch(44.46% 0.098 268.5)
XYZxyz(9.3791, 8.5637, 25.1986)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D508A #8A773D
analogous
#3D778A #3D508A #513D8A
triadic
#3D508A #8A3D50 #508A3D
tetradic
#3D508A #8A3D77 #8A773D #3D8A51
square
#3D508A #8A3D77 #8A773D #3D8A51
split-complementary
#3D508A #8A513D #778A3D
monochromatic
#171F35 #2A3760 #3D508A #526AB2 #7C8EC5

Accessibility & contrast

On white

7.74
#3D508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3D508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D508A
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D508A#FFFFFF#000000##FFFFFF
##3D508A1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#2F4F89
Tritanopia (blue-blind)
#145D66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d508a;
/* rgb */ color: rgb(61, 80, 138);
/* oklch */ color: oklch(44.5% 0.098 268.5);
Tailwind
colors: {
  custom: {
    50: '#7880ac',
    500: '#3d508a',
    950: '#000000',
  },
}
SCSS
$custom: #3d508a;
$custom-light: #7880ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d508a",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 225.195,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44455,
    "c": 0.09829,
    "h": 268.5
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#3D508A
secondary
#AFA074
accent
#B259CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D508A

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

Preview Lab → · Contrast checker → · Palette generator →

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