#3C5DCC#3C5DCC

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

Color values

HEX#3C5DCC
RGBrgb(60, 93, 204)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 71%, 80%)
CMYKcmyk(70.6%, 54.4%, 0%, 20%)
CIE-LABlab(42.98, 25.65, -61.15)
CIE-LCHlch(42.98, 66.31, 292.76°)
OKLaboklab(51.8% -0.008 -0.176)
OKLCHoklch(51.8% 0.176 267.4)
XYZxyz(16.6731, 13.1473, 58.7740)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5DCC #CCAB3C
analogous
#3CA5CC #3C5DCC #633CCC
triadic
#3C5DCC #CC3C5D #5DCC3C
tetradic
#3C5DCC #CC3CA5 #CCAB3C #3CCC63
square
#3C5DCC #CC3CA5 #CCAB3C #3CCC63
split-complementary
#3C5DCC #CC633C #A5CC3C
monochromatic
#1D3070 #2A45A1 #3C5DCC #6D85D9 #9DAEE5

Accessibility & contrast

On white

5.79
#3C5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3C5DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5DCC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5DCC#FFFFFF#000000##FFFFFF
##3C5DCC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3c5dcc;
/* rgb */ color: rgb(60, 93, 204);
/* oklch */ color: oklch(51.8% 0.176 267.4);
Tailwind
colors: {
  custom: {
    50: '#838adc',
    500: '#3c5dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3c5dcc;
$custom-light: #838adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5dcc",
  "rgb": {
    "r": 60,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 226.25,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.17621,
    "h": 267.4
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C5DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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