#4C7AE1#4C7AE1

#4C7AE1 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.9% C 0.165 H 264.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4C7AE1
RGBrgb(76, 122, 225)
HSLhsl(221, 71%, 59%)
HSVhsv(221, 66%, 88%)
CMYKcmyk(66.2%, 45.8%, 0%, 11.8%)
CIE-LABlab(52.83, 17.26, -57.18)
CIE-LCHlch(52.83, 59.73, 286.80°)
OKLaboklab(59.92% -0.0172 -0.1636)
OKLCHoklch(59.92% 0.165 264)
XYZxyz(23.5259, 20.8895, 74.0118)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AE1 #E1B34C
analogous
#4CC4E1 #4C7AE1 #694CE1
triadic
#4C7AE1 #E14C7A #7AE14C
tetradic
#4C7AE1 #E14CC4 #E1B34C #4CE169
square
#4C7AE1 #E14CC4 #E1B34C #4CE169
split-complementary
#4C7AE1 #E1694C #C4E14C
monochromatic
#1A4199 #2257CD #4C7AE1 #80A1EA #B5C8F3

Accessibility & contrast

On white

4.06
#4C7AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4C7AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AE1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AE1#FFFFFF#000000##000000
##4C7AE11.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4685E5
Deuteranopia (green-blind)
#2978DF
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7ae1;
/* rgb */ color: rgb(76, 122, 225);
/* oklch */ color: oklch(59.9% 0.165 264.0);
Tailwind
colors: {
  custom: {
    50: '#8d9feb',
    500: '#4c7ae1',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ae1;
$custom-light: #8d9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ae1",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 221.477,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.16452,
    "h": 264
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

primary
#4C7AE1
secondary
#E2D0A7
accent
#B63AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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