#3D5FC7#3D5FC7

#3D5FC7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.167 H 266.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3D5FC7
RGBrgb(61, 95, 199)
HSLhsl(225, 55%, 51%)
HSVhsv(225, 69%, 78%)
CMYKcmyk(69.3%, 52.3%, 0%, 22%)
CIE-LABlab(43.21, 22.70, -57.90)
CIE-LCHlch(43.21, 62.19, 291.41°)
OKLaboklab(51.87% -0.0092 -0.1664)
OKLCHoklch(51.87% 0.167 266.8)
XYZxyz(16.3219, 13.2984, 55.7284)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FC7 #C7A53D
analogous
#3DA4C7 #3D5FC7 #603DC7
triadic
#3D5FC7 #C73D5F #5FC73D
tetradic
#3D5FC7 #C73DA4 #C7A53D #3DC760
square
#3D5FC7 #C73DA4 #C7A53D #3DC760
split-complementary
#3D5FC7 #C7603D #A4C73D
monochromatic
#1F326B #2D489A #3D5FC7 #6C86D5 #9CADE2

Accessibility & contrast

On white

5.74
#3D5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3D5FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FC7#FFFFFF#000000##FFFFFF
##3D5FC71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5fc7;
/* rgb */ color: rgb(61, 95, 199);
/* oklch */ color: oklch(51.9% 0.167 266.8);
Tailwind
colors: {
  custom: {
    50: '#838bd9',
    500: '#3d5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fc7;
$custom-light: #838bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fc7",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 225.217,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.16666,
    "h": 266.8
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

primary
#3D5FC7
secondary
#CEBF91
accent
#BA49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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