#4A7CC5#4A7CC5

#4A7CC5 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.5% C 0.125 H 257.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4A7CC5
RGBrgb(74, 124, 197)
HSLhsl(216, 51%, 53%)
HSVhsv(216, 62%, 77%)
CMYKcmyk(62.4%, 37.1%, 0%, 22.7%)
CIE-LABlab(51.72, 6.00, -43.09)
CIE-LCHlch(51.72, 43.50, 277.93°)
OKLaboklab(58.54% -0.0264 -0.1223)
OKLCHoklch(58.54% 0.125 257.8)
XYZxyz(20.1062, 19.9005, 55.5941)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CC5 #C5934A
analogous
#4AB9C5 #4A7CC5 #564AC5
triadic
#4A7CC5 #C54A7C #7CC54A
tetradic
#4A7CC5 #C54AB9 #C5934A #4AC556
square
#4A7CC5 #C54AB9 #C5934A #4AC556
split-complementary
#4A7CC5 #C5564A #B9C54A
monochromatic
#244371 #335F9F #4A7CC5 #789ED4 #A7BFE3

Accessibility & contrast

On white

4.22
#4A7CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4A7CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CC5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CC5#FFFFFF#000000##000000
##4A7CC51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82C8
Deuteranopia (green-blind)
#4C76C3
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7cc5;
/* rgb */ color: rgb(74, 124, 197);
/* oklch */ color: oklch(58.5% 0.125 257.8);
Tailwind
colors: {
  custom: {
    50: '#87a1d7',
    500: '#4a7cc5',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cc5;
$custom-light: #87a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cc5",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 215.61,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.12508,
    "h": 257.8
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#4A7CC5
secondary
#D0BA9B
accent
#A14DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4A7CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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