#4C7FDF#4C7FDF

#4C7FDF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.156 H 261.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4C7FDF
RGBrgb(76, 127, 223)
HSLhsl(219, 70%, 59%)
HSVhsv(219, 66%, 87%)
CMYKcmyk(65.9%, 43%, 0%, 12.5%)
CIE-LABlab(54.07, 13.50, -54.07)
CIE-LCHlch(54.07, 55.73, 284.01°)
OKLaboklab(60.84% -0.0222 -0.1544)
OKLCHoklch(60.84% 0.156 261.8)
XYZxyz(23.8844, 22.0406, 72.7933)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FDF #DFAC4C
analogous
#4CC8DF #4C7FDF #624CDF
triadic
#4C7FDF #DF4C7F #7FDF4C
tetradic
#4C7FDF #DF4CC8 #DFAC4C #4CDF62
square
#4C7FDF #DF4CC8 #DFAC4C #4CDF62
split-complementary
#4C7FDF #DF624C #C8DF4C
monochromatic
#1B4596 #245ECA #4C7FDF #80A4E8 #B4C9F2

Accessibility & contrast

On white

3.88
#4C7FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4C7FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FDF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FDF#FFFFFF#000000##000000
##4C7FDF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E3
Deuteranopia (green-blind)
#397BDD
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7fdf;
/* rgb */ color: rgb(76, 127, 223);
/* oklch */ color: oklch(60.8% 0.156 261.8);
Tailwind
colors: {
  custom: {
    50: '#8da3e9',
    500: '#4c7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fdf;
$custom-light: #8da3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fdf",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 219.184,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.15599,
    "h": 261.8
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#4C7FDF
secondary
#E0CCA6
accent
#AF3BEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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