#3D5CCD#3D5CCD

#3D5CCD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.178 H 268.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3D5CCD
RGBrgb(61, 92, 205)
HSLhsl(227, 59%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(70.2%, 55.1%, 0%, 19.6%)
CIE-LABlab(42.84, 26.79, -61.95)
CIE-LCHlch(42.84, 67.50, 293.39°)
OKLaboklab(51.73% -0.0063 -0.1784)
OKLCHoklch(51.73% 0.179 268)
XYZxyz(16.7673, 13.0525, 59.3815)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5CCD #CDAE3D
analogous
#3DA4CD #3D5CCD #663DCD
triadic
#3D5CCD #CD3D5C #5CCD3D
tetradic
#3D5CCD #CD3DA4 #CDAE3D #3DCD66
square
#3D5CCD #CD3DA4 #CDAE3D #3DCD66
split-complementary
#3D5CCD #CD663D #A4CD3D
monochromatic
#1D3072 #2A44A3 #3D5CCD #6E85DA #9EAEE6

Accessibility & contrast

On white

5.82
#3D5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3D5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5CCD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5CCD#FFFFFF#000000##FFFFFF
##3D5CCD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5ccd;
/* rgb */ color: rgb(61, 92, 205);
/* oklch */ color: oklch(51.7% 0.178 268.0);
Tailwind
colors: {
  custom: {
    50: '#8489dd',
    500: '#3d5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ccd;
$custom-light: #8489dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ccd",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 227.083,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.1785,
    "h": 268
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#3D5CCD
secondary
#D2C593
accent
#C046E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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