#3D337A#3D337A

#3D337A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.3% C 0.116 H 285.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3D337A
RGBrgb(61, 51, 122)
HSLhsl(248, 41%, 34%)
HSVhsv(248, 58%, 48%)
CMYKcmyk(50%, 58.2%, 0%, 52.2%)
CIE-LABlab(26.05, 24.46, -39.22)
CIE-LCHlch(26.05, 46.22, 301.95°)
OKLaboklab(37.26% 0.0315 -0.1119)
OKLCHoklch(37.26% 0.116 285.7)
XYZxyz(6.6201, 4.7646, 18.9794)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D337A #707A33
analogous
#334D7A #3D337A #61337A
triadic
#3D337A #7A3D33 #337A3D
tetradic
#3D337A #7A334D #707A33 #337A61
square
#3D337A #7A334D #707A33 #337A61
split-complementary
#3D337A #7A6133 #4D7A33
monochromatic
#120F24 #27214F #3D337A #5345A5 #7468C0

Accessibility & contrast

On white

10.75
#3D337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D337A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D337A#FFFFFF#000000##FFFFFF
##3D337A1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407C
Deuteranopia (green-blind)
#043C78
Tritanopia (blue-blind)
#284351
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d337a;
/* rgb */ color: rgb(61, 51, 122);
/* oklch */ color: oklch(37.3% 0.116 285.7);
Tailwind
colors: {
  custom: {
    50: '#776ba1',
    500: '#3d337a',
    950: '#000000',
  },
}
SCSS
$custom: #3d337a;
$custom-light: #776ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d337a",
  "rgb": {
    "r": 61,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 248.451,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37257,
    "c": 0.11628,
    "h": 285.7
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#3D337A
secondary
#9EA861
accent
#D157C0
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D337A

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

Preview Lab → · Contrast checker → · Palette generator →

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