#3D5DCD#3D5DCD

#3D5DCD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.177 H 267.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3D5DCD
RGBrgb(61, 93, 205)
HSLhsl(227, 59%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(70.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(43.10, 26.15, -61.53)
CIE-LCHlch(43.10, 66.85, 293.03°)
OKLaboklab(51.92% -0.0071 -0.1771)
OKLCHoklch(51.92% 0.177 267.7)
XYZxyz(16.8544, 13.2269, 59.4106)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DCD #CDAD3D
analogous
#3DA5CD #3D5DCD #653DCD
triadic
#3D5DCD #CD3D5D #5DCD3D
tetradic
#3D5DCD #CD3DA5 #CDAD3D #3DCD65
square
#3D5DCD #CD3DA5 #CDAD3D #3DCD65
split-complementary
#3D5DCD #CD653D #A5CD3D
monochromatic
#1D3072 #2A45A3 #3D5DCD #6E86DA #9EAEE6

Accessibility & contrast

On white

5.76
#3D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3D5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DCD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DCD#FFFFFF#000000##FFFFFF
##3D5DCD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5dcd;
/* rgb */ color: rgb(61, 93, 205);
/* oklch */ color: oklch(51.9% 0.177 267.7);
Tailwind
colors: {
  custom: {
    50: '#848add',
    500: '#3d5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #3d5dcd;
$custom-light: #848add;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5dcd",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 226.667,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.17727,
    "h": 267.7
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#3D5DCD
secondary
#D2C493
accent
#BF46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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