#3D508E#3D508E

#3D508E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.104 H 269.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3D508E
RGBrgb(61, 80, 142)
HSLhsl(226, 40%, 40%)
HSVhsv(226, 57%, 56%)
CMYKcmyk(57%, 43.7%, 0%, 44.3%)
CIE-LABlab(35.36, 12.05, -36.71)
CIE-LCHlch(35.36, 38.63, 288.18°)
OKLaboklab(44.71% -0.0017 -0.1043)
OKLCHoklch(44.71% 0.104 269.1)
XYZxyz(9.6740, 8.6817, 26.7519)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D508E #8E7B3D
analogous
#3D788E #3D508E #533D8E
triadic
#3D508E #8E3D50 #508E3D
tetradic
#3D508E #8E3D78 #8E7B3D #3D8E53
square
#3D508E #8E3D78 #8E7B3D #3D8E53
split-complementary
#3D508E #8E533D #788E3D
monochromatic
#182038 #2B3863 #3D508E #536AB5 #7E8FC8

Accessibility & contrast

On white

7.67
#3D508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3D508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D508E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D508E#FFFFFF#000000##FFFFFF
##3D508E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#2B508D
Tritanopia (blue-blind)
#0D5E68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d508e;
/* rgb */ color: rgb(61, 80, 142);
/* oklch */ color: oklch(44.7% 0.104 269.1);
Tailwind
colors: {
  custom: {
    50: '#7980af',
    500: '#3d508e',
    950: '#000000',
  },
}
SCSS
$custom: #3d508e;
$custom-light: #7980af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d508e",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 225.926,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44711,
    "c": 0.10433,
    "h": 269.1
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#3D508E
secondary
#B1A375
accent
#B458D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D508E

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

Preview Lab → · Contrast checker → · Palette generator →

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