#4C7AF4#4C7AF4

#4C7AF4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.190 H 265.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4C7AF4
RGBrgb(76, 122, 244)
HSLhsl(224, 88%, 63%)
HSVhsv(224, 69%, 96%)
CMYKcmyk(68.9%, 50%, 0%, 4.3%)
CIE-LABlab(54.01, 23.90, -65.89)
CIE-LCHlch(54.01, 70.09, 289.93°)
OKLaboklab(61.21% -0.0147 -0.1892)
OKLCHoklch(61.21% 0.19 265.5)
XYZxyz(26.2634, 21.9846, 88.4297)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AF4 #F4C64C
analogous
#4CCEF4 #4C7AF4 #724CF4
triadic
#4C7AF4 #F44C7A #7AF44C
tetradic
#4C7AF4 #F44CCE #F4C64C #4CF472
square
#4C7AF4 #F44CCE #F4C64C #4CF472
split-complementary
#4C7AF4 #F4724C #CEF44C
monochromatic
#0B3BBA #124FF0 #4C7AF4 #86A5F8 #BFD0FB

Accessibility & contrast

On white

3.89
#4C7AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4C7AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AF4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AF4#FFFFFF#000000##000000
##4C7AF41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3189F8
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7af4;
/* rgb */ color: rgb(76, 122, 244);
/* oklch */ color: oklch(61.2% 0.190 265.5);
Tailwind
colors: {
  custom: {
    50: '#909ff8',
    500: '#4c7af4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7af4;
$custom-light: #909ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7af4",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 223.571,
    "s": 88.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.18981,
    "h": 265.5
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#4C7AF4
secondary
#ECDCB0
accent
#A600E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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