#4C7AE0#4C7AE0

#4C7AE0 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.163 H 263.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4C7AE0
RGBrgb(76, 122, 224)
HSLhsl(221, 70%, 59%)
HSVhsv(221, 66%, 88%)
CMYKcmyk(66.1%, 45.5%, 0%, 12.2%)
CIE-LABlab(52.77, 16.91, -56.71)
CIE-LCHlch(52.77, 59.18, 286.60°)
OKLaboklab(59.86% -0.0173 -0.1622)
OKLCHoklch(59.86% 0.163 263.9)
XYZxyz(23.3899, 20.8351, 73.2955)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AE0 #E0B24C
analogous
#4CC4E0 #4C7AE0 #684CE0
triadic
#4C7AE0 #E04C7A #7AE04C
tetradic
#4C7AE0 #E04CC4 #E0B24C #4CE068
square
#4C7AE0 #E04CC4 #E0B24C #4CE068
split-complementary
#4C7AE0 #E0684C #C4E04C
monochromatic
#1A4197 #2358CC #4C7AE0 #80A1E9 #B4C8F2

Accessibility & contrast

On white

4.06
#4C7AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4C7AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AE0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AE0#FFFFFF#000000##000000
##4C7AE01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E4
Deuteranopia (green-blind)
#2B78DE
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7ae0;
/* rgb */ color: rgb(76, 122, 224);
/* oklch */ color: oklch(59.9% 0.163 263.9);
Tailwind
colors: {
  custom: {
    50: '#8d9fea',
    500: '#4c7ae0',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ae0;
$custom-light: #8d9fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ae0",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 224
  },
  "hsl": {
    "h": 221.351,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.16318,
    "h": 263.9
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#4C7AE0
secondary
#E1CFA7
accent
#B63BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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