#3C5ACD#3C5ACD

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

Color values

HEX#3C5ACD
RGBrgb(60, 90, 205)
HSLhsl(228, 59%, 52%)
HSVhsv(228, 71%, 80%)
CMYKcmyk(70.7%, 56.1%, 0%, 19.6%)
CIE-LABlab(42.28, 27.93, -62.87)
CIE-LCHlch(42.28, 68.80, 293.96°)
OKLaboklab(51.29% -0.0056 -0.1811)
OKLCHoklch(51.29% 0.181 268.2)
XYZxyz(16.5353, 12.6791, 59.3216)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5ACD #CDAF3C
analogous
#3CA3CD #3C5ACD #673CCD
triadic
#3C5ACD #CD3C5A #5ACD3C
tetradic
#3C5ACD #CD3CA3 #CDAF3C #3CCD67
square
#3C5ACD #CD3CA3 #CDAF3C #3CCD67
split-complementary
#3C5ACD #CD673C #A3CD3C
monochromatic
#1D2F71 #2A43A2 #3C5ACD #6D83D9 #9DACE6

Accessibility & contrast

On white

5.94
#3C5ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3C5ACD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5ACD#FFFFFF#000000##FFFFFF
##3C5ACD1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c5acd;
/* rgb */ color: rgb(60, 90, 205);
/* oklch */ color: oklch(51.3% 0.181 268.2);
Tailwind
colors: {
  custom: {
    50: '#8488dd',
    500: '#3c5acd',
    950: '#000000',
  },
}
SCSS
$custom: #3c5acd;
$custom-light: #8488dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5acd",
  "rgb": {
    "r": 60,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 227.586,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51288,
    "c": 0.18124,
    "h": 268.2
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#3C5ACD
secondary
#D2C593
accent
#C245E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3C5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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