#4C7AC7#4C7AC7

#4C7AC7 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.3% C 0.129 H 260.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4C7AC7
RGBrgb(76, 122, 199)
HSLhsl(218, 52%, 54%)
HSVhsv(218, 62%, 78%)
CMYKcmyk(61.8%, 38.7%, 0%, 22%)
CIE-LABlab(51.36, 8.28, -44.81)
CIE-LCHlch(51.36, 45.56, 280.47°)
OKLaboklab(58.31% -0.0221 -0.1273)
OKLCHoklch(58.31% 0.129 260.1)
XYZxyz(20.2452, 19.5773, 56.7336)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AC7 #C7994C
analogous
#4CB8C7 #4C7AC7 #5C4CC7
triadic
#4C7AC7 #C74C7A #7AC74C
tetradic
#4C7AC7 #C74CB8 #C7994C #4CC75C
square
#4C7AC7 #C74CB8 #C7994C #4CC75C
split-complementary
#4C7AC7 #C75C4C #B8C74C
monochromatic
#244274 #335DA3 #4C7AC7 #7B9DD6 #A9BFE4

Accessibility & contrast

On white

4.27
#4C7AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4C7AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AC7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AC7#FFFFFF#000000##000000
##4C7AC71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c7ac7;
/* rgb */ color: rgb(76, 122, 199);
/* oklch */ color: oklch(58.3% 0.129 260.1);
Tailwind
colors: {
  custom: {
    50: '#89a0d8',
    500: '#4c7ac7',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ac7;
$custom-light: #89a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ac7",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 217.561,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.12921,
    "h": 260.1
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#4C7AC7
secondary
#D2BE9D
accent
#A64CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4C7AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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