#4C70DF#4C70DF

#4C70DF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.8% C 0.174 H 267.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4C70DF
RGBrgb(76, 112, 223)
HSLhsl(225, 70%, 59%)
HSVhsv(225, 66%, 87%)
CMYKcmyk(65.9%, 49.8%, 0%, 12.5%)
CIE-LABlab(50.04, 22.76, -60.54)
CIE-LCHlch(50.04, 64.68, 290.61°)
OKLaboklab(57.75% -0.0083 -0.1736)
OKLCHoklch(57.75% 0.174 267.3)
XYZxyz(22.0894, 18.4505, 72.1949)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C70DF #DFBB4C
analogous
#4CB9DF #4C70DF #714CDF
triadic
#4C70DF #DF4C70 #70DF4C
tetradic
#4C70DF #DF4CB9 #DFBB4C #4CDF71
square
#4C70DF #DF4CB9 #DFBB4C #4CDF71
split-complementary
#4C70DF #DF714C #B9DF4C
monochromatic
#1B3996 #244DCA #4C70DF #8099E8 #B4C3F2

Accessibility & contrast

On white

4.48
#4C70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4C70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C70DF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C70DF#FFFFFF#000000##000000
##4C70DF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c70df;
/* rgb */ color: rgb(76, 112, 223);
/* oklch */ color: oklch(57.8% 0.174 267.3);
Tailwind
colors: {
  custom: {
    50: '#8d98ea',
    500: '#4c70df',
    950: '#000000',
  },
}
SCSS
$custom: #4c70df;
$custom-light: #8d98ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c70df",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 225.306,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.17385,
    "h": 267.3
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#4C70DF
secondary
#E0D2A6
accent
#C13BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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