#3D5DC7#3D5DC7

#3D5DC7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.169 H 267.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3D5DC7
RGBrgb(61, 93, 199)
HSLhsl(226, 55%, 51%)
HSVhsv(226, 69%, 78%)
CMYKcmyk(69.3%, 53.3%, 0%, 22%)
CIE-LABlab(42.68, 23.99, -58.76)
CIE-LCHlch(42.68, 63.46, 292.21°)
OKLaboklab(51.47% -0.0075 -0.169)
OKLCHoklch(51.47% 0.169 267.5)
XYZxyz(16.1441, 12.9427, 55.6691)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DC7 #C7A73D
analogous
#3DA2C7 #3D5DC7 #623DC7
triadic
#3D5DC7 #C73D5D #5DC73D
tetradic
#3D5DC7 #C73DA2 #C7A73D #3DC762
square
#3D5DC7 #C73DA2 #C7A73D #3DC762
split-complementary
#3D5DC7 #C7623D #A2C73D
monochromatic
#1F306B #2D469A #3D5DC7 #6C85D5 #9CACE2

Accessibility & contrast

On white

5.85
#3D5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3D5DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DC7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DC7#FFFFFF#000000##FFFFFF
##3D5DC71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106BCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5dc7;
/* rgb */ color: rgb(61, 93, 199);
/* oklch */ color: oklch(51.5% 0.169 267.5);
Tailwind
colors: {
  custom: {
    50: '#838ad9',
    500: '#3d5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #3d5dc7;
$custom-light: #838ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5dc7",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 226.087,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.16915,
    "h": 267.5
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#3D5DC7
secondary
#CEC091
accent
#BC49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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