#3D51D9#3D51D9

#3D51D9 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.7% C 0.207 H 270.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3D51D9
RGBrgb(61, 81, 217)
HSLhsl(232, 67%, 55%)
HSVhsv(232, 72%, 85%)
CMYKcmyk(71.9%, 62.7%, 0%, 14.9%)
CIE-LABlab(41.03, 38.00, -71.79)
CIE-LCHlch(41.03, 81.23, 297.90°)
OKLaboklab(50.67% 0.0019 -0.2074)
OKLCHoklch(50.67% 0.207 270.5)
XYZxyz(17.3870, 11.8849, 67.0099)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D51D9 #D9C53D
analogous
#3D9FD9 #3D51D9 #773DD9
triadic
#3D51D9 #D93D51 #51D93D
tetradic
#3D51D9 #D93D9F #D9C53D #3DD977
square
#3D51D9 #D93D9F #D9C53D #3DD977
split-complementary
#3D51D9 #D9773D #9FD93D
monochromatic
#192782 #2436B5 #3D51D9 #707FE3 #A3ADED

Accessibility & contrast

On white

6.22
#3D51D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3D51D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D51D9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D51D9#FFFFFF#000000##FFFFFF
##3D51D91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d51d9;
/* rgb */ color: rgb(61, 81, 217);
/* oklch */ color: oklch(50.7% 0.207 270.5);
Tailwind
colors: {
  custom: {
    50: '#8782e6',
    500: '#3d51d9',
    950: '#000000',
  },
}
SCSS
$custom: #3d51d9;
$custom-light: #8782e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d51d9",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 232.308,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50672,
    "c": 0.20741,
    "h": 270.5
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#3D51D9
secondary
#DAD198
accent
#D43EEA
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3D51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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