#3D5FC5#3D5FC5

#3D5FC5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.164 H 266.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3D5FC5
RGBrgb(61, 95, 197)
HSLhsl(225, 54%, 51%)
HSVhsv(225, 69%, 77%)
CMYKcmyk(69%, 51.8%, 0%, 22.7%)
CIE-LABlab(43.07, 21.98, -56.96)
CIE-LCHlch(43.07, 61.05, 291.10°)
OKLaboklab(51.72% -0.0094 -0.1637)
OKLCHoklch(51.72% 0.164 266.7)
XYZxyz(16.0912, 13.2061, 54.5135)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FC5 #C5A33D
analogous
#3DA3C5 #3D5FC5 #5F3DC5
triadic
#3D5FC5 #C53D5F #5FC53D
tetradic
#3D5FC5 #C53DA3 #C5A33D #3DC55F
square
#3D5FC5 #C53DA3 #C5A33D #3DC55F
split-complementary
#3D5FC5 #C55F3D #A3C53D
monochromatic
#1F3268 #2D4898 #3D5FC5 #6C86D3 #9BADE1

Accessibility & contrast

On white

5.77
#3D5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3D5FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FC5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FC5#FFFFFF#000000##FFFFFF
##3D5FC51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5fc5;
/* rgb */ color: rgb(61, 95, 197);
/* oklch */ color: oklch(51.7% 0.164 266.7);
Tailwind
colors: {
  custom: {
    50: '#828bd7',
    500: '#3d5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fc5;
$custom-light: #828bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fc5",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 225,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.16394,
    "h": 266.7
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#3D5FC5
secondary
#CDBE91
accent
#B94ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3D5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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