#3D35A2#3D35A2

#3D35A2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.169 H 279.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3D35A2
RGBrgb(61, 53, 162)
HSLhsl(244, 51%, 42%)
HSVhsv(244, 67%, 64%)
CMYKcmyk(62.3%, 67.3%, 0%, 36.5%)
CIE-LABlab(29.78, 36.48, -57.88)
CIE-LCHlch(29.78, 68.41, 302.22°)
OKLaboklab(41% 0.0269 -0.1668)
OKLCHoklch(41% 0.169 279.2)
XYZxyz(9.7171, 6.1462, 34.8497)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D35A2 #9AA235
analogous
#3563A2 #3D35A2 #7435A2
triadic
#3D35A2 #A23D35 #35A23D
tetradic
#3D35A2 #A23563 #9AA235 #35A274
square
#3D35A2 #A23563 #9AA235 #35A274
split-complementary
#3D35A2 #A27435 #63A235
monochromatic
#1A1746 #2C2674 #3D35A2 #584FC5 #837DD4

Accessibility & contrast

On white

9.42
#3D35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3D35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D35A2
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D35A2#FFFFFF#000000##FFFFFF
##3D35A21.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d35a2;
/* rgb */ color: rgb(61, 53, 162);
/* oklch */ color: oklch(41.0% 0.169 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e6dbe',
    500: '#3d35a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d35a2;
$custom-light: #7e6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d35a2",
  "rgb": {
    "r": 61,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 244.404,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40998,
    "c": 0.16894,
    "h": 279.2
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#3D35A2
secondary
#B8BD75
accent
#DA4ED0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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