#4A7AC4#4A7AC4

#4A7AC4 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.0% C 0.126 H 258.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4A7AC4
RGBrgb(74, 122, 196)
HSLhsl(216, 51%, 53%)
HSVhsv(216, 62%, 77%)
CMYKcmyk(62.2%, 37.8%, 0%, 23.1%)
CIE-LABlab(51.10, 6.88, -43.50)
CIE-LCHlch(51.10, 44.04, 278.99°)
OKLaboklab(58.04% -0.0245 -0.1235)
OKLCHoklch(58.04% 0.126 258.8)
XYZxyz(19.7439, 19.3586, 54.9100)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AC4 #C4944A
analogous
#4AB7C4 #4A7AC4 #574AC4
triadic
#4A7AC4 #C44A7A #7AC44A
tetradic
#4A7AC4 #C44AB7 #C4944A #4AC457
square
#4A7AC4 #C44AB7 #C4944A #4AC457
split-complementary
#4A7AC4 #C4574A #B7C44A
monochromatic
#24426F #335D9D #4A7AC4 #789CD3 #A6BEE2

Accessibility & contrast

On white

4.31
#4A7AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4A7AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AC4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AC4#FFFFFF#000000##000000
##4A7AC41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C7
Deuteranopia (green-blind)
#4974C2
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a7ac4;
/* rgb */ color: rgb(74, 122, 196);
/* oklch */ color: oklch(58.0% 0.126 258.8);
Tailwind
colors: {
  custom: {
    50: '#87a0d6',
    500: '#4a7ac4',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ac4;
$custom-light: #87a0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ac4",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 216.393,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58038,
    "c": 0.12591,
    "h": 258.8
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#4A7AC4
secondary
#CFBB9B
accent
#A34DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4A7AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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