#4A7CC3#4A7CC3

#4A7CC3 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.4% C 0.122 H 257.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4A7CC3
RGBrgb(74, 124, 195)
HSLhsl(215, 50%, 53%)
HSVhsv(215, 62%, 76%)
CMYKcmyk(62.1%, 36.4%, 0%, 23.5%)
CIE-LABlab(51.62, 5.32, -42.11)
CIE-LCHlch(51.62, 42.44, 277.20°)
OKLaboklab(58.42% -0.0269 -0.1194)
OKLCHoklch(58.42% 0.122 257.3)
XYZxyz(19.8785, 19.8095, 54.3952)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CC3 #C3914A
analogous
#4AB8C3 #4A7CC3 #554AC3
triadic
#4A7CC3 #C34A7C #7CC34A
tetradic
#4A7CC3 #C34AB8 #C3914A #4AC355
square
#4A7CC3 #C34AB8 #C3914A #4AC355
split-complementary
#4A7CC3 #C3554A #B8C34A
monochromatic
#24436E #345F9C #4A7CC3 #789DD2 #A6BFE1

Accessibility & contrast

On white

4.23
#4A7CC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4A7CC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CC3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CC3#FFFFFF#000000##000000
##4A7CC31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C6
Deuteranopia (green-blind)
#4D76C2
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7cc3;
/* rgb */ color: rgb(74, 124, 195);
/* oklch */ color: oklch(58.4% 0.122 257.3);
Tailwind
colors: {
  custom: {
    50: '#87a1d5',
    500: '#4a7cc3',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cc3;
$custom-light: #87a1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cc3",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 195
  },
  "hsl": {
    "h": 215.207,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.12239,
    "h": 257.3
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#4A7CC3
secondary
#CFB99A
accent
#A04EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4A7CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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