#4C7AEC#4C7AEC

#4C7AEC is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.179 H 265.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4C7AEC
RGBrgb(76, 122, 236)
HSLhsl(223, 81%, 61%)
HSVhsv(223, 68%, 93%)
CMYKcmyk(67.8%, 48.3%, 0%, 7.5%)
CIE-LABlab(53.50, 21.10, -62.26)
CIE-LCHlch(53.50, 65.74, 288.72°)
OKLaboklab(60.66% -0.0157 -0.1785)
OKLCHoklch(60.66% 0.179 265)
XYZxyz(25.0750, 21.5092, 82.1708)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AEC #ECBE4C
analogous
#4CCAEC #4C7AEC #6E4CEC
triadic
#4C7AEC #EC4C7A #7AEC4C
tetradic
#4C7AEC #EC4CCA #ECBE4C #4CEC6E
square
#4C7AEC #EC4CCA #ECBE4C #4CEC6E
split-complementary
#4C7AEC #EC6E4C #CAEC4C
monochromatic
#123EAB #1852E3 #4C7AEC #83A3F2 #BBCCF8

Accessibility & contrast

On white

3.96
#4C7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4C7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AEC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AEC#FFFFFF#000000##000000
##4C7AEC1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#0979EA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7aec;
/* rgb */ color: rgb(76, 122, 236);
/* oklch */ color: oklch(60.7% 0.179 265.0);
Tailwind
colors: {
  custom: {
    50: '#8f9ff3',
    500: '#4c7aec',
    950: '#000000',
  },
}
SCSS
$custom: #4c7aec;
$custom-light: #8f9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7aec",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 222.75,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.17924,
    "h": 265
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#4C7AEC
secondary
#E8D7AC
accent
#A008DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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