#4C70CC#4C70CC

#4C70CC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.148 H 265.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4C70CC
RGBrgb(76, 112, 204)
HSLhsl(223, 56%, 55%)
HSVhsv(223, 63%, 80%)
CMYKcmyk(62.7%, 45.1%, 0%, 20%)
CIE-LABlab(48.86, 16.17, -51.64)
CIE-LCHlch(48.86, 54.11, 287.39°)
OKLaboklab(56.48% -0.0108 -0.1475)
OKLCHoklch(56.48% 0.148 265.8)
XYZxyz(19.6700, 17.4827, 59.4529)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C70CC #CCA84C
analogous
#4CB0CC #4C70CC #684CCC
triadic
#4C70CC #CC4C70 #70CC4C
tetradic
#4C70CC #CC4CB0 #CCA84C #4CCC68
square
#4C70CC #CC4CB0 #CCA84C #4CCC68
split-complementary
#4C70CC #CC684C #B0CC4C
monochromatic
#233C7B #3153AA #4C70CC #7C96DA #ABBCE7

Accessibility & contrast

On white

4.67
#4C70CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4C70CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C70CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C70CC#FFFFFF#000000##FFFFFF
##4C70CC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c70cc;
/* rgb */ color: rgb(76, 112, 204);
/* oklch */ color: oklch(56.5% 0.148 265.8);
Tailwind
colors: {
  custom: {
    50: '#8a98dc',
    500: '#4c70cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c70cc;
$custom-light: #8a98dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c70cc",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 223.125,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.14786,
    "h": 265.8
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

primary
#4C70CC
secondary
#D5C69F
accent
#B549DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C70CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4C70CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva