#3D36A2#3D36A2

#3D36A2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.168 H 278.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3D36A2
RGBrgb(61, 54, 162)
HSLhsl(244, 50%, 42%)
HSVhsv(244, 67%, 64%)
CMYKcmyk(62.3%, 66.7%, 0%, 36.5%)
CIE-LABlab(30.01, 35.86, -57.51)
CIE-LCHlch(30.01, 67.77, 301.95°)
OKLaboklab(41.16% 0.0261 -0.1657)
OKLCHoklch(41.16% 0.168 278.9)
XYZxyz(9.7631, 6.2383, 34.8650)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D36A2 #9BA236
analogous
#3665A2 #3D36A2 #7336A2
triadic
#3D36A2 #A23D36 #36A23D
tetradic
#3D36A2 #A23665 #9BA236 #36A273
square
#3D36A2 #A23665 #9BA236 #36A273
split-complementary
#3D36A2 #A27336 #65A236
monochromatic
#1A1746 #2C2774 #3D36A2 #5850C5 #847ED4

Accessibility & contrast

On white

9.34
#3D36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3D36A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D36A2
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D36A2#FFFFFF#000000##FFFFFF
##3D36A21.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d36a2;
/* rgb */ color: rgb(61, 54, 162);
/* oklch */ color: oklch(41.2% 0.168 278.9);
Tailwind
colors: {
  custom: {
    50: '#7e6ebe',
    500: '#3d36a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d36a2;
$custom-light: #7e6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d36a2",
  "rgb": {
    "r": 61,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 243.889,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.16772,
    "h": 278.9
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#3D36A2
secondary
#B9BD77
accent
#DA4ED0
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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