#3D337D#3D337D

#3D337D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.121 H 285.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3D337D
RGBrgb(61, 51, 125)
HSLhsl(248, 42%, 35%)
HSVhsv(248, 59%, 49%)
CMYKcmyk(51.2%, 59.2%, 0%, 51%)
CIE-LABlab(26.27, 25.44, -40.75)
CIE-LCHlch(26.27, 48.04, 301.98°)
OKLaboklab(37.49% 0.0315 -0.1165)
OKLCHoklch(37.49% 0.121 285.1)
XYZxyz(6.8089, 4.8401, 19.9735)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D337D #737D33
analogous
#334E7D #3D337D #62337D
triadic
#3D337D #7D3D33 #337D3D
tetradic
#3D337D #7D334E #737D33 #337D62
square
#3D337D #7D334E #737D33 #337D62
split-complementary
#3D337D #7D6233 #4E7D33
monochromatic
#131026 #282152 #3D337D #5245A8 #7569C2

Accessibility & contrast

On white

10.67
#3D337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3D337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D337D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D337D#FFFFFF#000000##FFFFFF
##3D337D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#264452
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d337d;
/* rgb */ color: rgb(61, 51, 125);
/* oklch */ color: oklch(37.5% 0.121 285.1);
Tailwind
colors: {
  custom: {
    50: '#786ba3',
    500: '#3d337d',
    950: '#000000',
  },
}
SCSS
$custom: #3d337d;
$custom-light: #786ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d337d",
  "rgb": {
    "r": 61,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 248.108,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37491,
    "c": 0.12065,
    "h": 285.1
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#3D337D
secondary
#A0AA62
accent
#D256C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D337D

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

Preview Lab → · Contrast checker → · Palette generator →

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