#3C71C8#3C71C8

#3C71C8 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.147 H 259.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3C71C8
RGBrgb(60, 113, 200)
HSLhsl(217, 56%, 51%)
HSVhsv(217, 70%, 78%)
CMYKcmyk(70%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.18, 11.49, -50.47)
CIE-LCHlch(48.18, 51.77, 282.82°)
OKLaboklab(55.68% -0.026 -0.1443)
OKLCHoklch(55.68% 0.147 259.8)
XYZxyz(18.1902, 16.9391, 56.9433)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C71C8 #C8933C
analogous
#3CB7C8 #3C71C8 #4D3CC8
triadic
#3C71C8 #C83C71 #71C83C
tetradic
#3C71C8 #C83CB7 #C8933C #3CC84D
square
#3C71C8 #C83CB7 #C8933C #3CC84D
split-complementary
#3C71C8 #C84D3C #B7C83C
monochromatic
#1E3B6B #2C569B #3C71C8 #6C94D5 #9BB7E3

Accessibility & contrast

On white

4.79
#3C71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3C71C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C71C8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C71C8#FFFFFF#000000##FFFFFF
##3C71C81.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#2E6CC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3c71c8;
/* rgb */ color: rgb(60, 113, 200);
/* oklch */ color: oklch(55.7% 0.147 259.8);
Tailwind
colors: {
  custom: {
    50: '#8299d9',
    500: '#3c71c8',
    950: '#000000',
  },
}
SCSS
$custom: #3c71c8;
$custom-light: #8299d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c71c8",
  "rgb": {
    "r": 60,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 217.286,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.14663,
    "h": 259.8
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#3C71C8
secondary
#CFB791
accent
#A649DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3C71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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