#3D5ECD#3D5ECD

#3D5ECD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.176 H 267.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3D5ECD
RGBrgb(61, 94, 205)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 70%, 80%)
CMYKcmyk(70.2%, 54.1%, 0%, 19.6%)
CIE-LABlab(43.37, 25.51, -61.10)
CIE-LCHlch(43.37, 66.22, 292.66°)
OKLaboklab(52.12% -0.0079 -0.1759)
OKLCHoklch(52.12% 0.176 267.4)
XYZxyz(16.9428, 13.4036, 59.4400)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ECD #CDAC3D
analogous
#3DA6CD #3D5ECD #643DCD
triadic
#3D5ECD #CD3D5E #5ECD3D
tetradic
#3D5ECD #CD3DA6 #CDAC3D #3DCD64
square
#3D5ECD #CD3DA6 #CDAC3D #3DCD64
split-complementary
#3D5ECD #CD643D #A6CD3D
monochromatic
#1D3172 #2A46A3 #3D5ECD #6E86DA #9EAFE6

Accessibility & contrast

On white

5.70
#3D5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3D5ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ECD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ECD#FFFFFF#000000##FFFFFF
##3D5ECD1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5ecd;
/* rgb */ color: rgb(61, 94, 205);
/* oklch */ color: oklch(52.1% 0.176 267.4);
Tailwind
colors: {
  custom: {
    50: '#848bdd',
    500: '#3d5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ecd;
$custom-light: #848bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ecd",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 226.25,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.17605,
    "h": 267.4
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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