#4C7FE3#4C7FE3

#4C7FE3 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.1% C 0.161 H 262.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4C7FE3
RGBrgb(76, 127, 227)
HSLhsl(220, 73%, 59%)
HSVhsv(220, 67%, 89%)
CMYKcmyk(66.5%, 44.1%, 0%, 11%)
CIE-LABlab(54.30, 14.89, -55.94)
CIE-LCHlch(54.30, 57.89, 284.90°)
OKLaboklab(61.09% -0.0215 -0.1599)
OKLCHoklch(61.09% 0.161 262.3)
XYZxyz(24.4301, 22.2589, 75.6671)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FE3 #E3B04C
analogous
#4CCBE3 #4C7FE3 #654CE3
triadic
#4C7FE3 #E34C7F #7FE34C
tetradic
#4C7FE3 #E34CCB #E3B04C #4CE365
square
#4C7FE3 #E34CCB #E3B04C #4CE365
split-complementary
#4C7FE3 #E3654C #CBE34C
monochromatic
#18459C #215CD1 #4C7FE3 #81A5EB #B6CBF4

Accessibility & contrast

On white

3.85
#4C7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4C7FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FE3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FE3#FFFFFF#000000##000000
##4C7FE31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E7
Deuteranopia (green-blind)
#347BE1
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c7fe3;
/* rgb */ color: rgb(76, 127, 227);
/* oklch */ color: oklch(61.1% 0.161 262.3);
Tailwind
colors: {
  custom: {
    50: '#8da3ec',
    500: '#4c7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fe3;
$custom-light: #8da3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fe3",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 219.735,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.16135,
    "h": 262.3
  },
  "luminance": 0.22261
}

Semantic roles & 50–950 ramp

primary
#4C7FE3
secondary
#E3CFA8
accent
#B238F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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