#4C7AE3#4C7AE3

#4C7AE3 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.167 H 264.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C7AE3
RGBrgb(76, 122, 227)
HSLhsl(222, 73%, 59%)
HSVhsv(222, 67%, 89%)
CMYKcmyk(66.5%, 46.3%, 0%, 11%)
CIE-LABlab(52.95, 17.96, -58.11)
CIE-LCHlch(52.95, 60.82, 287.17°)
OKLaboklab(60.05% -0.0169 -0.1663)
OKLCHoklch(60.05% 0.167 264.2)
XYZxyz(23.8003, 20.9993, 75.4571)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AE3 #E3B54C
analogous
#4CC6E3 #4C7AE3 #6A4CE3
triadic
#4C7AE3 #E34C7A #7AE34C
tetradic
#4C7AE3 #E34CC6 #E3B54C #4CE36A
square
#4C7AE3 #E34CC6 #E3B54C #4CE36A
split-complementary
#4C7AE3 #E36A4C #C6E34C
monochromatic
#18419C #2156D1 #4C7AE3 #81A1EB #B6C9F4

Accessibility & contrast

On white

4.04
#4C7AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4C7AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AE3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AE3#FFFFFF#000000##000000
##4C7AE31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E7
Deuteranopia (green-blind)
#2578E1
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7ae3;
/* rgb */ color: rgb(76, 122, 227);
/* oklch */ color: oklch(60.1% 0.167 264.2);
Tailwind
colors: {
  custom: {
    50: '#8d9fec',
    500: '#4c7ae3',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ae3;
$custom-light: #8d9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ae3",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 221.722,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60054,
    "c": 0.16721,
    "h": 264.2
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#4C7AE3
secondary
#E3D1A8
accent
#B838F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4C7AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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