#3D3D7B#3D3D7B

#3D3D7B is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.103 H 280.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3D3D7B
RGBrgb(61, 61, 123)
HSLhsl(240, 34%, 36%)
HSVhsv(240, 50%, 48%)
CMYKcmyk(50.4%, 50.4%, 0%, 51.8%)
CIE-LABlab(28.80, 18.15, -35.44)
CIE-LCHlch(28.80, 39.82, 297.12°)
OKLaboklab(39.33% 0.0189 -0.1008)
OKLCHoklch(39.33% 0.103 280.6)
XYZxyz(7.1673, 5.7593, 19.4690)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3D7B #7B7B3D
analogous
#3D5C7B #3D3D7B #5C3D7B
triadic
#3D3D7B #7B3D3D #3D7B3D
tetradic
#3D3D7B #7B3D5C #7B7B3D #3D7B5C
square
#3D3D7B #7B3D5C #7B7B3D #3D7B5C
split-complementary
#3D3D7B #7B5C3D #5C7B3D
monochromatic
#141429 #292952 #3D3D7B #5151A4 #7777BC

Accessibility & contrast

On white

9.76
#3D3D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D3D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3D7B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3D7B#FFFFFF#000000##FFFFFF
##3D3D7B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467D
Deuteranopia (green-blind)
#1D427A
Tritanopia (blue-blind)
#264A56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d3d7b;
/* rgb */ color: rgb(61, 61, 123);
/* oklch */ color: oklch(39.3% 0.103 280.6);
Tailwind
colors: {
  custom: {
    50: '#7772a1',
    500: '#3d3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #3d3d7b;
$custom-light: #7772a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3d7b",
  "rgb": {
    "r": 61,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 33.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3933,
    "c": 0.10253,
    "h": 280.6
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#3D3D7B
secondary
#A6A66E
accent
#CA5ECA
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #3D3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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