#3D5CC5#3D5CC5

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

Color values

HEX#3D5CC5
RGBrgb(61, 92, 197)
HSLhsl(226, 54%, 51%)
HSVhsv(226, 69%, 77%)
CMYKcmyk(69%, 53.3%, 0%, 22.7%)
CIE-LABlab(42.27, 23.91, -58.26)
CIE-LCHlch(42.27, 62.97, 292.31°)
OKLaboklab(51.12% -0.0068 -0.1675)
OKLCHoklch(51.12% 0.168 267.7)
XYZxyz(15.8262, 12.6760, 54.4252)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5CC5 #C5A63D
analogous
#3DA0C5 #3D5CC5 #623DC5
triadic
#3D5CC5 #C53D5C #5CC53D
tetradic
#3D5CC5 #C53DA0 #C5A63D #3DC562
square
#3D5CC5 #C53DA0 #C5A63D #3DC562
split-complementary
#3D5CC5 #C5623D #A0C53D
monochromatic
#1F3068 #2D4698 #3D5CC5 #6C84D3 #9BABE1

Accessibility & contrast

On white

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

On black

3.54
#3D5CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3D5CC5#FFFFFF#000000##FFFFFF
##3D5CC51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106AC9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5cc5;
/* rgb */ color: rgb(61, 92, 197);
/* oklch */ color: oklch(51.1% 0.168 267.7);
Tailwind
colors: {
  custom: {
    50: '#8389d7',
    500: '#3d5cc5',
    950: '#000000',
  },
}
SCSS
$custom: #3d5cc5;
$custom-light: #8389d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5cc5",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 226.324,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.16766,
    "h": 267.7
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#3D5CC5
secondary
#CDBF91
accent
#BC4ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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