#4C7CE9#4C7CE9

#4C7CE9 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.9% C 0.173 H 264.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4C7CE9
RGBrgb(76, 124, 233)
HSLhsl(222, 78%, 61%)
HSVhsv(222, 67%, 91%)
CMYKcmyk(67.4%, 46.8%, 0%, 8.6%)
CIE-LABlab(53.85, 18.82, -60.02)
CIE-LCHlch(53.85, 62.91, 287.41°)
OKLaboklab(60.86% -0.0178 -0.1719)
OKLCHoklch(60.86% 0.173 264.1)
XYZxyz(24.8910, 21.8325, 79.9773)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CE9 #E9B94C
analogous
#4CCAE9 #4C7CE9 #6A4CE9
triadic
#4C7CE9 #E94C7C #7CE94C
tetradic
#4C7CE9 #E94CCA #E9B94C #4CE96A
square
#4C7CE9 #E94CCA #E9B94C #4CE96A
split-complementary
#4C7CE9 #E96A4C #CAE94C
monochromatic
#1441A6 #1B56DD #4C7CE9 #83A4F0 #B9CCF6

Accessibility & contrast

On white

3.91
#4C7CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4C7CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CE9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CE9#FFFFFF#000000##000000
##4C7CE91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4388ED
Deuteranopia (green-blind)
#207AE7
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7ce9;
/* rgb */ color: rgb(76, 124, 233);
/* oklch */ color: oklch(60.9% 0.173 264.1);
Tailwind
colors: {
  custom: {
    50: '#8ea1f1',
    500: '#4c7ce9',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ce9;
$custom-light: #8ea1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ce9",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 233
  },
  "hsl": {
    "h": 221.656,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60861,
    "c": 0.17287,
    "h": 264.1
  },
  "luminance": 0.21835
}

Semantic roles & 50–950 ramp

primary
#4C7CE9
secondary
#E6D4AB
accent
#9B0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C7CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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