#4C7FD3#4C7FD3

#4C7FD3 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.140 H 259.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4C7FD3
RGBrgb(76, 127, 211)
HSLhsl(217, 61%, 56%)
HSVhsv(217, 64%, 83%)
CMYKcmyk(64%, 39.8%, 0%, 17.3%)
CIE-LABlab(53.40, 9.35, -48.37)
CIE-LCHlch(53.40, 49.27, 280.94°)
OKLaboklab(60.11% -0.0246 -0.1377)
OKLCHoklch(60.11% 0.14 259.9)
XYZxyz(22.3236, 21.4163, 64.5727)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FD3 #D3A04C
analogous
#4CC3D3 #4C7FD3 #5D4CD3
triadic
#4C7FD3 #D34C7F #7FD34C
tetradic
#4C7FD3 #D34CC3 #D3A04C #4CD35D
square
#4C7FD3 #D34CC3 #D3A04C #4CD35D
split-complementary
#4C7FD3 #D35D4C #C3D34C
monochromatic
#204684 #2D60B5 #4C7FD3 #7DA2DF #AEC5EB

Accessibility & contrast

On white

3.97
#4C7FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4C7FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FD3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FD3#FFFFFF#000000##000000
##4C7FD31.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D6
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7fd3;
/* rgb */ color: rgb(76, 127, 211);
/* oklch */ color: oklch(60.1% 0.140 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ba3e1',
    500: '#4c7fd3',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fd3;
$custom-light: #8ba3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fd3",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 217.333,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.13986,
    "h": 259.9
  },
  "luminance": 0.21418
}

Semantic roles & 50–950 ramp

primary
#4C7FD3
secondary
#D9C4A2
accent
#A744E4
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C7FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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