#3C78CC#3C78CC

#3C78CC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.5% C 0.144 H 257.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3C78CC
RGBrgb(60, 120, 204)
HSLhsl(215, 59%, 52%)
HSVhsv(215, 71%, 80%)
CMYKcmyk(70.6%, 41.2%, 0%, 20%)
CIE-LABlab(50.39, 8.59, -49.23)
CIE-LCHlch(50.39, 49.97, 279.89°)
OKLaboklab(57.47% -0.0316 -0.1405)
OKLCHoklch(57.47% 0.144 257.3)
XYZxyz(19.4751, 18.7512, 59.7080)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C78CC #CC903C
analogous
#3CC0CC #3C78CC #483CCC
triadic
#3C78CC #CC3C78 #78CC3C
tetradic
#3C78CC #CC3CC0 #CC903C #3CCC48
square
#3C78CC #CC3CC0 #CC903C #3CCC48
split-complementary
#3C78CC #CC483C #C0CC3C
monochromatic
#1D4070 #2A5CA1 #3C78CC #6D9AD9 #9DBBE5

Accessibility & contrast

On white

4.42
#3C78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3C78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3C78CC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C78CC#FFFFFF#000000##000000
##3C78CC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3c78cc;
/* rgb */ color: rgb(60, 120, 204);
/* oklch */ color: oklch(57.5% 0.144 257.3);
Tailwind
colors: {
  custom: {
    50: '#829edc',
    500: '#3c78cc',
    950: '#000000',
  },
}
SCSS
$custom: #3c78cc;
$custom-light: #829edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c78cc",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 215,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5747,
    "c": 0.14406,
    "h": 257.3
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#3C78CC
secondary
#D1B792
accent
#A146E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3C78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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