#3D5ACD#3D5ACD

#3D5ACD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.181 H 268.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3D5ACD
RGBrgb(61, 90, 205)
HSLhsl(228, 59%, 52%)
HSVhsv(228, 70%, 80%)
CMYKcmyk(70.2%, 56.1%, 0%, 19.6%)
CIE-LABlab(42.32, 28.07, -62.79)
CIE-LCHlch(42.32, 68.78, 294.09°)
OKLaboklab(51.34% -0.0047 -0.1809)
OKLCHoklch(51.34% 0.181 268.5)
XYZxyz(16.5963, 12.7105, 59.3245)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ACD #CDB03D
analogous
#3DA2CD #3D5ACD #683DCD
triadic
#3D5ACD #CD3D5A #5ACD3D
tetradic
#3D5ACD #CD3DA2 #CDB03D #3DCD68
square
#3D5ACD #CD3DA2 #CDB03D #3DCD68
split-complementary
#3D5ACD #CD683D #A2CD3D
monochromatic
#1D2E72 #2A42A3 #3D5ACD #6E83DA #9EADE6

Accessibility & contrast

On white

5.93
#3D5ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D5ACD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ACD#FFFFFF#000000##FFFFFF
##3D5ACD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5acd;
/* rgb */ color: rgb(61, 90, 205);
/* oklch */ color: oklch(51.3% 0.181 268.5);
Tailwind
colors: {
  custom: {
    50: '#8488dd',
    500: '#3d5acd',
    950: '#000000',
  },
}
SCSS
$custom: #3d5acd;
$custom-light: #8488dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5acd",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 227.917,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51338,
    "c": 0.18095,
    "h": 268.5
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#3D5ACD
secondary
#D2C693
accent
#C346E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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