#3D508B#3D508B

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

Color values

HEX#3D508B
RGBrgb(61, 80, 139)
HSLhsl(225, 39%, 39%)
HSVhsv(225, 56%, 55%)
CMYKcmyk(56.1%, 42.4%, 0%, 45.5%)
CIE-LABlab(35.19, 11.01, -35.16)
CIE-LCHlch(35.19, 36.84, 287.39°)
OKLaboklab(44.52% -0.0023 -0.0998)
OKLCHoklch(44.52% 0.1 268.7)
XYZxyz(9.4518, 8.5928, 25.5816)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D508B #8B783D
analogous
#3D778B #3D508B #513D8B
triadic
#3D508B #8B3D50 #508B3D
tetradic
#3D508B #8B3D77 #8B783D #3D8B51
square
#3D508B #8B3D77 #8B783D #3D8B51
split-complementary
#3D508B #8B513D #778B3D
monochromatic
#181F36 #2A3860 #3D508B #526AB3 #7D8EC6

Accessibility & contrast

On white

7.72
#3D508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3D508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D508B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D508B#FFFFFF#000000##FFFFFF
##3D508B1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#2E508A
Tritanopia (blue-blind)
#125D66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d508b;
/* rgb */ color: rgb(61, 80, 139);
/* oklch */ color: oklch(44.5% 0.100 268.7);
Tailwind
colors: {
  custom: {
    50: '#7980ad',
    500: '#3d508b',
    950: '#000000',
  },
}
SCSS
$custom: #3d508b;
$custom-light: #7980ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d508b",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 225.385,
    "s": 39,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.09981,
    "h": 268.7
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D508B

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

Preview Lab → · Contrast checker → · Palette generator →

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