#3D5DC1#3D5DC1

#3D5DC1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.161 H 267.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3D5DC1
RGBrgb(61, 93, 193)
HSLhsl(225, 52%, 50%)
HSVhsv(225, 68%, 76%)
CMYKcmyk(68.4%, 51.8%, 0%, 24.3%)
CIE-LABlab(42.26, 21.82, -55.95)
CIE-LCHlch(42.26, 60.06, 291.30°)
OKLaboklab(51.02% -0.008 -0.1607)
OKLCHoklch(51.02% 0.161 267.1)
XYZxyz(15.4611, 12.6695, 52.0724)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DC1 #C1A13D
analogous
#3D9FC1 #3D5DC1 #5F3DC1
triadic
#3D5DC1 #C13D5D #5DC13D
tetradic
#3D5DC1 #C13D9F #C1A13D #3DC15F
square
#3D5DC1 #C13D9F #C1A13D #3DC15F
split-complementary
#3D5DC1 #C15F3D #9FC13D
monochromatic
#203064 #2E4792 #3D5DC1 #6B84D0 #99AADF

Accessibility & contrast

On white

5.94
#3D5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3D5DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DC1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DC1#FFFFFF#000000##FFFFFF
##3D5DC11.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5dc1;
/* rgb */ color: rgb(61, 93, 193);
/* oklch */ color: oklch(51.0% 0.161 267.1);
Tailwind
colors: {
  custom: {
    50: '#828ad4',
    500: '#3d5dc1',
    950: '#000000',
  },
}
SCSS
$custom: #3d5dc1;
$custom-light: #828ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5dc1",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 225.455,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.16093,
    "h": 267.1
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#3D5DC1
secondary
#CBBC8F
accent
#B94CDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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