#3D5FCD#3D5FCD

#3D5FCD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.175 H 267.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#3D5FCD
RGBrgb(61, 95, 205)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 70%, 80%)
CMYKcmyk(70.2%, 53.7%, 0%, 19.6%)
CIE-LABlab(43.63, 24.87, -60.68)
CIE-LCHlch(43.63, 65.58, 292.29°)
OKLaboklab(52.32% -0.0087 -0.1746)
OKLCHoklch(52.32% 0.175 267.1)
XYZxyz(17.0323, 13.5826, 59.4698)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FCD #CDAB3D
analogous
#3DA7CD #3D5FCD #633DCD
triadic
#3D5FCD #CD3D5F #5FCD3D
tetradic
#3D5FCD #CD3DA7 #CDAB3D #3DCD63
square
#3D5FCD #CD3DA7 #CDAB3D #3DCD63
split-complementary
#3D5FCD #CD633D #A7CD3D
monochromatic
#1D3172 #2A47A3 #3D5FCD #6E87DA #9EAFE6

Accessibility & contrast

On white

5.65
#3D5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3D5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FCD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FCD#FFFFFF#000000##FFFFFF
##3D5FCD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086ED1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d5fcd;
/* rgb */ color: rgb(61, 95, 205);
/* oklch */ color: oklch(52.3% 0.175 267.1);
Tailwind
colors: {
  custom: {
    50: '#848bdd',
    500: '#3d5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fcd;
$custom-light: #848bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fcd",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 225.833,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.17482,
    "h": 267.1
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#3D5FCD
secondary
#D2C393
accent
#BD46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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