#4C7AE5#4C7AE5

#4C7AE5 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.170 H 264.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4C7AE5
RGBrgb(76, 122, 229)
HSLhsl(222, 75%, 60%)
HSVhsv(222, 67%, 90%)
CMYKcmyk(66.8%, 46.7%, 0%, 10.2%)
CIE-LABlab(53.07, 18.66, -59.04)
CIE-LCHlch(53.07, 61.91, 287.54°)
OKLaboklab(60.19% -0.0166 -0.1691)
OKLCHoklch(60.19% 0.17 264.4)
XYZxyz(24.0779, 21.1103, 76.9193)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AE5 #E5B74C
analogous
#4CC6E5 #4C7AE5 #6B4CE5
triadic
#4C7AE5 #E54C7A #7AE54C
tetradic
#4C7AE5 #E54CC6 #E5B74C #4CE56B
square
#4C7AE5 #E54CC6 #E5B74C #4CE56B
split-complementary
#4C7AE5 #E56B4C #C6E54C
monochromatic
#17409F #1F56D5 #4C7AE5 #81A2ED #B7C9F5

Accessibility & contrast

On white

4.02
#4C7AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4C7AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AE5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AE5#FFFFFF#000000##000000
##4C7AE51.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E9
Deuteranopia (green-blind)
#2178E3
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7ae5;
/* rgb */ color: rgb(76, 122, 229);
/* oklch */ color: oklch(60.2% 0.170 264.4);
Tailwind
colors: {
  custom: {
    50: '#8e9fee',
    500: '#4c7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ae5;
$custom-light: #8e9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ae5",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 221.961,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.16989,
    "h": 264.4
  },
  "luminance": 0.21113
}

Semantic roles & 50–950 ramp

primary
#4C7AE5
secondary
#E4D2A9
accent
#B937F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4C7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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