#4C70F5#4C70F5

#4C70F5 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 59.3% C 0.203 H 268.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4C70F5
RGBrgb(76, 112, 245)
HSLhsl(227, 89%, 63%)
HSVhsv(227, 69%, 96%)
CMYKcmyk(69%, 54.3%, 0%, 3.9%)
CIE-LABlab(51.51, 30.42, -70.49)
CIE-LCHlch(51.51, 76.77, 293.34°)
OKLaboklab(59.34% -0.0065 -0.2029)
OKLCHoklch(59.34% 0.203 268.2)
XYZxyz(25.2504, 19.7149, 88.8431)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C70F5 #F5D14C
analogous
#4CC4F5 #4C70F5 #7C4CF5
triadic
#4C70F5 #F54C70 #70F54C
tetradic
#4C70F5 #F54CC4 #F5D14C #4CF57C
square
#4C70F5 #F54CC4 #F5D14C #4CF57C
split-complementary
#4C70F5 #F57C4C #C4F54C
monochromatic
#0B30BC #1242F2 #4C70F5 #869EF8 #C0CDFB

Accessibility & contrast

On white

4.25
#4C70F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4C70F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C70F5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C70F5#FFFFFF#000000##000000
##4C70F51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c70f5;
/* rgb */ color: rgb(76, 112, 245);
/* oklch */ color: oklch(59.3% 0.203 268.2);
Tailwind
colors: {
  custom: {
    50: '#9198f9',
    500: '#4c70f5',
    950: '#000000',
  },
}
SCSS
$custom: #4c70f5;
$custom-light: #9198f9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c70f5",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 227.219,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.20301,
    "h": 268.2
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#4C70F5
secondary
#EDE0B0
accent
#B500E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4C70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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