#4C7CD5#4C7CD5

#4C7CD5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.6% C 0.146 H 261.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C7CD5
RGBrgb(76, 124, 213)
HSLhsl(219, 62%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(64.3%, 41.8%, 0%, 16.5%)
CIE-LABlab(52.68, 11.87, -50.66)
CIE-LCHlch(52.68, 52.03, 283.18°)
OKLaboklab(59.58% -0.0212 -0.1444)
OKLCHoklch(59.58% 0.146 261.6)
XYZxyz(22.1942, 20.7538, 65.7741)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CD5 #D5A54C
analogous
#4CC1D5 #4C7CD5 #614CD5
triadic
#4C7CD5 #D54C7C #7CD54C
tetradic
#4C7CD5 #D54CC1 #D5A54C #4CD561
square
#4C7CD5 #D54CC1 #D5A54C #4CD561
split-complementary
#4C7CD5 #D5614C #C1D54C
monochromatic
#204487 #2B5DB9 #4C7CD5 #7EA0E1 #AFC5EC

Accessibility & contrast

On white

4.08
#4C7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4C7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CD5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CD5#FFFFFF#000000##000000
##4C7CD51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385D8
Deuteranopia (green-blind)
#3E78D3
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7cd5;
/* rgb */ color: rgb(76, 124, 213);
/* oklch */ color: oklch(59.6% 0.146 261.6);
Tailwind
colors: {
  custom: {
    50: '#8ba1e2',
    500: '#4c7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cd5;
$custom-light: #8ba1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cd5",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 218.978,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.14597,
    "h": 261.6
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#4C7CD5
secondary
#DAC7A2
accent
#AC43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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