#4C7FD5#4C7FD5

#4C7FD5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.143 H 260.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4C7FD5
RGBrgb(76, 127, 213)
HSLhsl(218, 62%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(64.3%, 40.4%, 0%, 16.5%)
CIE-LABlab(53.51, 10.03, -49.33)
CIE-LCHlch(53.51, 50.34, 281.50°)
OKLaboklab(60.23% -0.0242 -0.1405)
OKLCHoklch(60.23% 0.143 260.2)
XYZxyz(22.5758, 21.5172, 65.9014)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FD5 #D5A24C
analogous
#4CC4D5 #4C7FD5 #5E4CD5
triadic
#4C7FD5 #D54C7F #7FD54C
tetradic
#4C7FD5 #D54CC4 #D5A24C #4CD55E
square
#4C7FD5 #D54CC4 #D5A24C #4CD55E
split-complementary
#4C7FD5 #D55E4C #C4D54C
monochromatic
#204687 #2B60B9 #4C7FD5 #7EA2E1 #AFC6EC

Accessibility & contrast

On white

3.96
#4C7FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4C7FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FD5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FD5#FFFFFF#000000##000000
##4C7FD51.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887D8
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7fd5;
/* rgb */ color: rgb(76, 127, 213);
/* oklch */ color: oklch(60.2% 0.143 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ba3e2',
    500: '#4c7fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fd5;
$custom-light: #8ba3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fd5",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 217.664,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.14256,
    "h": 260.2
  },
  "luminance": 0.21519
}

Semantic roles & 50–950 ramp

primary
#4C7FD5
secondary
#DAC6A2
accent
#A943E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C7FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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