#4C70CB#4C70CB

#4C70CB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.4% C 0.146 H 265.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4C70CB
RGBrgb(76, 112, 203)
HSLhsl(223, 55%, 55%)
HSVhsv(223, 63%, 80%)
CMYKcmyk(62.6%, 44.8%, 0%, 20.4%)
CIE-LABlab(48.80, 15.82, -51.16)
CIE-LCHlch(48.80, 53.55, 287.19°)
OKLaboklab(56.41% -0.011 -0.1461)
OKLCHoklch(56.41% 0.146 265.7)
XYZxyz(19.5504, 17.4349, 58.8233)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C70CB #CBA74C
analogous
#4CB0CB #4C70CB #684CCB
triadic
#4C70CB #CB4C70 #70CB4C
tetradic
#4C70CB #CB4CB0 #CBA74C #4CCB68
square
#4C70CB #CB4CB0 #CBA74C #4CCB68
split-complementary
#4C70CB #CB684C #B0CB4C
monochromatic
#233C79 #3153A9 #4C70CB #7B96D9 #ABBCE7

Accessibility & contrast

On white

4.68
#4C70CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4C70CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C70CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C70CB#FFFFFF#000000##FFFFFF
##4C70CB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#306FC9
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c70cb;
/* rgb */ color: rgb(76, 112, 203);
/* oklch */ color: oklch(56.4% 0.146 265.7);
Tailwind
colors: {
  custom: {
    50: '#8a98db',
    500: '#4c70cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c70cb;
$custom-light: #8a98db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c70cb",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 222.992,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.14647,
    "h": 265.7
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#4C70CB
secondary
#D4C59F
accent
#B449DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C70CB

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

Preview Lab → · Contrast checker → · Palette generator →

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