#3D3379#3D3379

#3D3379 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 37.2% C 0.115 H 285.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3D3379
RGBrgb(61, 51, 121)
HSLhsl(249, 41%, 34%)
HSVhsv(249, 58%, 47%)
CMYKcmyk(49.6%, 57.9%, 0%, 52.5%)
CIE-LABlab(25.98, 24.13, -38.70)
CIE-LCHlch(25.98, 45.61, 301.94°)
OKLaboklab(37.18% 0.0315 -0.1104)
OKLCHoklch(37.18% 0.115 285.9)
XYZxyz(6.5585, 4.7399, 18.6548)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3379 #6F7933
analogous
#334C79 #3D3379 #603379
triadic
#3D3379 #793D33 #33793D
tetradic
#3D3379 #79334C #6F7933 #337960
square
#3D3379 #79334C #6F7933 #337960
split-complementary
#3D3379 #796033 #4C7933
monochromatic
#120F23 #27214E #3D3379 #5345A4 #7467BF

Accessibility & contrast

On white

10.78
#3D3379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3D3379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3379
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3379#FFFFFF#000000##FFFFFF
##3D33791.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7B
Deuteranopia (green-blind)
#073B77
Tritanopia (blue-blind)
#294350
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d3379;
/* rgb */ color: rgb(61, 51, 121);
/* oklch */ color: oklch(37.2% 0.115 285.9);
Tailwind
colors: {
  custom: {
    50: '#776ba0',
    500: '#3d3379',
    950: '#000000',
  },
}
SCSS
$custom: #3d3379;
$custom-light: #776ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3379",
  "rgb": {
    "r": 61,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 248.571,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3718,
    "c": 0.11483,
    "h": 285.9
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#3D3379
secondary
#9DA761
accent
#D157BF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #3D3379

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

Preview Lab → · Contrast checker → · Palette generator →

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