#3C71C2#3C71C2

#3C71C2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.139 H 258.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3C71C2
RGBrgb(60, 113, 194)
HSLhsl(216, 53%, 50%)
HSVhsv(216, 69%, 76%)
CMYKcmyk(69.1%, 41.8%, 0%, 23.9%)
CIE-LABlab(47.83, 9.32, -47.59)
CIE-LCHlch(47.83, 48.49, 281.08°)
OKLaboklab(55.3% -0.0271 -0.1358)
OKLCHoklch(55.3% 0.139 258.7)
XYZxyz(17.5027, 16.6641, 53.3226)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C71C2 #C28D3C
analogous
#3CB4C2 #3C71C2 #4A3CC2
triadic
#3C71C2 #C23C71 #71C23C
tetradic
#3C71C2 #C23CB4 #C28D3C #3CC24A
square
#3C71C2 #C23CB4 #C28D3C #3CC24A
split-complementary
#3C71C2 #C24A3C #B4C23C
monochromatic
#1F3B65 #2E5693 #3C71C2 #6A93D1 #99B5DF

Accessibility & contrast

On white

4.85
#3C71C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3C71C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C71C2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C71C2#FFFFFF#000000##FFFFFF
##3C71C21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#356CC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3c71c2;
/* rgb */ color: rgb(60, 113, 194);
/* oklch */ color: oklch(55.3% 0.139 258.7);
Tailwind
colors: {
  custom: {
    50: '#8199d5',
    500: '#3c71c2',
    950: '#000000',
  },
}
SCSS
$custom: #3c71c2;
$custom-light: #8199d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c71c2",
  "rgb": {
    "r": 60,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 216.269,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.553,
    "c": 0.13852,
    "h": 258.7
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#3C71C2
secondary
#CBB38F
accent
#A34CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3C71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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