#4C7EE3#4C7EE3

#4C7EE3 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.9% C 0.163 H 262.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4C7EE3
RGBrgb(76, 126, 227)
HSLhsl(220, 73%, 59%)
HSVhsv(220, 67%, 89%)
CMYKcmyk(66.5%, 44.5%, 0%, 11%)
CIE-LABlab(54.03, 15.50, -56.38)
CIE-LCHlch(54.03, 58.47, 285.37°)
OKLaboklab(60.88% -0.0206 -0.1612)
OKLCHoklch(60.88% 0.163 262.7)
XYZxyz(24.3016, 22.0019, 75.6242)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EE3 #E3B14C
analogous
#4CCAE3 #4C7EE3 #654CE3
triadic
#4C7EE3 #E34C7E #7EE34C
tetradic
#4C7EE3 #E34CCA #E3B14C #4CE365
square
#4C7EE3 #E34CCA #E3B14C #4CE365
split-complementary
#4C7EE3 #E3654C #CAE34C
monochromatic
#18449C #215BD1 #4C7EE3 #81A4EB #B6CAF4

Accessibility & contrast

On white

3.89
#4C7EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4C7EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EE3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EE3#FFFFFF#000000##000000
##4C7EE31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E7
Deuteranopia (green-blind)
#317BE1
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7ee3;
/* rgb */ color: rgb(76, 126, 227);
/* oklch */ color: oklch(60.9% 0.163 262.7);
Tailwind
colors: {
  custom: {
    50: '#8da2ec',
    500: '#4c7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ee3;
$custom-light: #8da2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ee3",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 220.132,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60883,
    "c": 0.16251,
    "h": 262.7
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#4C7EE3
secondary
#E3CFA8
accent
#B338F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4C7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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