#4C7FD9#4C7FD9

#4C7FD9 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.148 H 260.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4C7FD9
RGBrgb(76, 127, 217)
HSLhsl(218, 65%, 57%)
HSVhsv(218, 65%, 85%)
CMYKcmyk(65%, 41.5%, 0%, 14.9%)
CIE-LABlab(53.73, 11.42, -51.24)
CIE-LCHlch(53.73, 52.49, 282.56°)
OKLaboklab(60.47% -0.0234 -0.1461)
OKLCHoklch(60.47% 0.148 260.9)
XYZxyz(23.0898, 21.7228, 68.6083)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FD9 #D9A64C
analogous
#4CC5D9 #4C7FD9 #604CD9
triadic
#4C7FD9 #D94C7F #7FD94C
tetradic
#4C7FD9 #D94CC5 #D9A64C #4CD960
square
#4C7FD9 #D94CC5 #D9A64C #4CD960
split-complementary
#4C7FD9 #D9604C #C5D94C
monochromatic
#1E468D #295FBF #4C7FD9 #7EA3E4 #B1C7EE

Accessibility & contrast

On white

3.93
#4C7FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4C7FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FD9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FD9#FFFFFF#000000##000000
##4C7FD91.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5687DD
Deuteranopia (green-blind)
#407AD7
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7fd9;
/* rgb */ color: rgb(76, 127, 217);
/* oklch */ color: oklch(60.5% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ca3e5',
    500: '#4c7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fd9;
$custom-light: #8ca3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fd9",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 218.298,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60469,
    "c": 0.14794,
    "h": 260.9
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#4C7FD9
secondary
#DDC8A4
accent
#AB40E8
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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