#3C71D9#3C71D9

#3C71D9 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.169 H 262.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3C71D9
RGBrgb(60, 113, 217)
HSLhsl(220, 67%, 54%)
HSVhsv(220, 72%, 85%)
CMYKcmyk(72.4%, 47.9%, 0%, 14.9%)
CIE-LABlab(49.23, 17.67, -58.49)
CIE-LCHlch(49.23, 61.10, 286.81°)
OKLaboklab(56.82% -0.0232 -0.1679)
OKLCHoklch(56.82% 0.169 262.1)
XYZxyz(20.2885, 17.7785, 67.9945)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C71D9 #D9A43C
analogous
#3CC0D9 #3C71D9 #563CD9
triadic
#3C71D9 #D93C71 #71D93C
tetradic
#3C71D9 #D93CC0 #D9A43C #3CD956
square
#3C71D9 #D93CC0 #D9A43C #3CD956
split-complementary
#3C71D9 #D9563C #C0D93C
monochromatic
#193C81 #2354B5 #3C71D9 #6F96E3 #A2BCED

Accessibility & contrast

On white

4.61
#3C71D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3C71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3C71D9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C71D9#FFFFFF#000000##FFFFFF
##3C71D91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377DDD
Deuteranopia (green-blind)
#026ED7
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3c71d9;
/* rgb */ color: rgb(60, 113, 217);
/* oklch */ color: oklch(56.8% 0.169 262.1);
Tailwind
colors: {
  custom: {
    50: '#8599e5',
    500: '#3c71d9',
    950: '#000000',
  },
}
SCSS
$custom: #3c71d9;
$custom-light: #8599e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c71d9",
  "rgb": {
    "r": 60,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 219.745,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.16948,
    "h": 262.1
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#3C71D9
secondary
#DAC397
accent
#B03EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3C71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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