#3C5ECD#3C5ECD

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

Color values

HEX#3C5ECD
RGBrgb(60, 94, 205)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 71%, 80%)
CMYKcmyk(70.7%, 54.1%, 0%, 19.6%)
CIE-LABlab(43.32, 25.37, -61.18)
CIE-LCHlch(43.32, 66.23, 292.53°)
OKLaboklab(52.07% -0.0088 -0.1761)
OKLCHoklch(52.07% 0.176 267.1)
XYZxyz(16.8818, 13.3721, 59.4372)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5ECD #CDAB3C
analogous
#3CA7CD #3C5ECD #633CCD
triadic
#3C5ECD #CD3C5E #5ECD3C
tetradic
#3C5ECD #CD3CA7 #CDAB3C #3CCD63
square
#3C5ECD #CD3CA7 #CDAB3C #3CCD63
split-complementary
#3C5ECD #CD633C #A7CD3C
monochromatic
#1D3171 #2A46A2 #3C5ECD #6D86D9 #9DAEE6

Accessibility & contrast

On white

5.71
#3C5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3C5ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5ECD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5ECD#FFFFFF#000000##FFFFFF
##3C5ECD1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.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: #3c5ecd;
/* rgb */ color: rgb(60, 94, 205);
/* oklch */ color: oklch(52.1% 0.176 267.1);
Tailwind
colors: {
  custom: {
    50: '#848bdd',
    500: '#3c5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #3c5ecd;
$custom-light: #848bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5ecd",
  "rgb": {
    "r": 60,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 225.931,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.17633,
    "h": 267.1
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#3C5ECD
secondary
#D2C393
accent
#BE45E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3C5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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