#4A70CC#4A70CC

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

Color values

HEX#4A70CC
RGBrgb(74, 112, 204)
HSLhsl(222, 56%, 55%)
HSVhsv(222, 64%, 80%)
CMYKcmyk(63.7%, 45.1%, 0%, 20%)
CIE-LABlab(48.76, 15.81, -51.80)
CIE-LCHlch(48.76, 54.16, 286.98°)
OKLaboklab(56.38% -0.0127 -0.148)
OKLCHoklch(56.38% 0.149 265.1)
XYZxyz(19.5135, 17.4020, 59.4456)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A70CC #CCA64A
analogous
#4AB1CC #4A70CC #654ACC
triadic
#4A70CC #CC4A70 #70CC4A
tetradic
#4A70CC #CC4AB1 #CCA64A #4ACC65
square
#4A70CC #CC4AB1 #CCA64A #4ACC65
split-complementary
#4A70CC #CC654A #B1CC4A
monochromatic
#223C79 #3053A9 #4A70CC #7A96D9 #A9BBE7

Accessibility & contrast

On white

4.69
#4A70CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4A70CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A70CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A70CC#FFFFFF#000000##FFFFFF
##4A70CC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a70cc;
/* rgb */ color: rgb(74, 112, 204);
/* oklch */ color: oklch(56.4% 0.149 265.1);
Tailwind
colors: {
  custom: {
    50: '#8998dc',
    500: '#4a70cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a70cc;
$custom-light: #8998dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a70cc",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 222.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.14852,
    "h": 265.1
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

primary
#4A70CC
secondary
#D4C49D
accent
#B348DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4A70CC

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

Preview Lab → · Contrast checker → · Palette generator →

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