#4A7BC7#4A7BC7

#4A7BC7 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.4% C 0.129 H 258.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A7BC7
RGBrgb(74, 123, 199)
HSLhsl(216, 53%, 54%)
HSVhsv(216, 63%, 78%)
CMYKcmyk(62.8%, 38.2%, 0%, 22%)
CIE-LABlab(51.55, 7.30, -44.51)
CIE-LCHlch(51.55, 45.10, 279.31°)
OKLaboklab(58.43% -0.0248 -0.1264)
OKLCHoklch(58.43% 0.129 258.9)
XYZxyz(20.2121, 19.7434, 56.7674)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BC7 #C7964A
analogous
#4AB9C7 #4A7BC7 #574AC7
triadic
#4A7BC7 #C74A7B #7BC74A
tetradic
#4A7BC7 #C74AB9 #C7964A #4AC757
square
#4A7BC7 #C74AB9 #C7964A #4AC757
split-complementary
#4A7BC7 #C7574A #B9C74A
monochromatic
#244373 #325EA2 #4A7BC7 #799DD5 #A7BFE4

Accessibility & contrast

On white

4.24
#4A7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4A7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BC7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BC7#FFFFFF#000000##000000
##4A7BC71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7bc7;
/* rgb */ color: rgb(74, 123, 199);
/* oklch */ color: oklch(58.4% 0.129 258.9);
Tailwind
colors: {
  custom: {
    50: '#88a0d8',
    500: '#4a7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bc7;
$custom-light: #88a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bc7",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 216.48,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.12887,
    "h": 258.9
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#4A7BC7
secondary
#D1BC9C
accent
#A44CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4A7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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