#4C7ED5#4C7ED5

#4C7ED5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.144 H 260.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C7ED5
RGBrgb(76, 126, 213)
HSLhsl(218, 62%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(64.3%, 40.8%, 0%, 16.5%)
CIE-LABlab(53.23, 10.64, -49.77)
CIE-LCHlch(53.23, 50.90, 282.07°)
OKLaboklab(60.01% -0.0232 -0.1418)
OKLCHoklch(60.01% 0.144 260.7)
XYZxyz(22.4473, 21.2602, 65.8585)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ED5 #D5A34C
analogous
#4CC3D5 #4C7ED5 #5F4CD5
triadic
#4C7ED5 #D54C7E #7ED54C
tetradic
#4C7ED5 #D54CC3 #D5A34C #4CD55F
square
#4C7ED5 #D54CC3 #D5A34C #4CD55F
split-complementary
#4C7ED5 #D55F4C #C3D54C
monochromatic
#204587 #2B5FB9 #4C7ED5 #7EA2E1 #AFC5EC

Accessibility & contrast

On white

4.00
#4C7ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C7ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ED5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ED5#FFFFFF#000000##000000
##4C7ED51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#4279D3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7ed5;
/* rgb */ color: rgb(76, 126, 213);
/* oklch */ color: oklch(60.0% 0.144 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ba2e2',
    500: '#4c7ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ed5;
$custom-light: #8ba2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ed5",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 218.102,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.14368,
    "h": 260.7
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#4C7ED5
secondary
#DAC6A2
accent
#AA43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4C7ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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