#3D359D#3D359D

#3D359D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.162 H 279.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3D359D
RGBrgb(61, 53, 157)
HSLhsl(245, 50%, 41%)
HSVhsv(245, 66%, 62%)
CMYKcmyk(61.1%, 66.2%, 0%, 38.4%)
CIE-LABlab(29.34, 34.81, -55.56)
CIE-LCHlch(29.34, 65.56, 302.07°)
OKLaboklab(40.55% 0.0275 -0.16)
OKLCHoklch(40.55% 0.162 279.8)
XYZxyz(9.2814, 5.9720, 32.5554)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D359D #959D35
analogous
#35619D #3D359D #71359D
triadic
#3D359D #9D3D35 #359D3D
tetradic
#3D359D #9D3561 #959D35 #359D71
square
#3D359D #9D3561 #959D35 #359D71
split-complementary
#3D359D #9D7135 #619D35
monochromatic
#191641 #2B266F #3D359D #564CC3 #817AD2

Accessibility & contrast

On white

9.57
#3D359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3D359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D359D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D359D#FFFFFF#000000##FFFFFF
##3D359D1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d359d;
/* rgb */ color: rgb(61, 53, 157);
/* oklch */ color: oklch(40.5% 0.162 279.8);
Tailwind
colors: {
  custom: {
    50: '#7d6dbb',
    500: '#3d359d',
    950: '#000000',
  },
}
SCSS
$custom: #3d359d;
$custom-light: #7d6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d359d",
  "rgb": {
    "r": 61,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 244.615,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.16233,
    "h": 279.8
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#3D359D
secondary
#B5BB73
accent
#D94FCE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D359D

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

Preview Lab → · Contrast checker → · Palette generator →

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