#4C7BE5#4C7BE5

#4C7BE5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.169 H 264.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4C7BE5
RGBrgb(76, 123, 229)
HSLhsl(222, 75%, 60%)
HSVhsv(222, 67%, 90%)
CMYKcmyk(66.8%, 46.3%, 0%, 10.2%)
CIE-LABlab(53.34, 18.04, -58.61)
CIE-LCHlch(53.34, 61.32, 287.11°)
OKLaboklab(60.39% -0.0175 -0.1678)
OKLCHoklch(60.39% 0.169 264)
XYZxyz(24.2013, 21.3572, 76.9605)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BE5 #E5B64C
analogous
#4CC7E5 #4C7BE5 #6A4CE5
triadic
#4C7BE5 #E54C7B #7BE54C
tetradic
#4C7BE5 #E54CC7 #E5B64C #4CE56A
square
#4C7BE5 #E54CC7 #E5B64C #4CE56A
split-complementary
#4C7BE5 #E56A4C #C7E54C
monochromatic
#17419F #1F57D5 #4C7BE5 #81A2ED #B7CAF5

Accessibility & contrast

On white

3.98
#4C7BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4C7BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BE5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BE5#FFFFFF#000000##000000
##4C7BE51.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#2579E3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7be5;
/* rgb */ color: rgb(76, 123, 229);
/* oklch */ color: oklch(60.4% 0.169 264.0);
Tailwind
colors: {
  custom: {
    50: '#8ea0ee',
    500: '#4c7be5',
    950: '#000000',
  },
}
SCSS
$custom: #4c7be5;
$custom-light: #8ea0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7be5",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 221.569,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60391,
    "c": 0.16871,
    "h": 264
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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