#4C7CDD#4C7CDD

#4C7CDD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.157 H 262.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4C7CDD
RGBrgb(76, 124, 221)
HSLhsl(220, 68%, 58%)
HSVhsv(220, 66%, 87%)
CMYKcmyk(65.6%, 43.9%, 0%, 13.3%)
CIE-LABlab(53.13, 14.64, -54.44)
CIE-LCHlch(53.13, 56.37, 285.05°)
OKLaboklab(60.08% -0.0197 -0.1555)
OKLCHoklch(60.08% 0.157 262.8)
XYZxyz(23.2347, 21.1700, 71.2543)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CDD #DDAD4C
analogous
#4CC4DD #4C7CDD #644CDD
triadic
#4C7CDD #DD4C7C #7CDD4C
tetradic
#4C7CDD #DD4CC4 #DDAD4C #4CDD64
square
#4C7CDD #DD4CC4 #DDAD4C #4CDD64
split-complementary
#4C7CDD #DD644C #C4DD4C
monochromatic
#1C4393 #265BC6 #4C7CDD #7FA2E7 #B3C7F1

Accessibility & contrast

On white

4.01
#4C7CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4C7CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CDD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CDD#FFFFFF#000000##000000
##4C7CDD1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E1
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7cdd;
/* rgb */ color: rgb(76, 124, 221);
/* oklch */ color: oklch(60.1% 0.157 262.8);
Tailwind
colors: {
  custom: {
    50: '#8ca1e8',
    500: '#4c7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cdd;
$custom-light: #8ca1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cdd",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 220.138,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.15678,
    "h": 262.8
  },
  "luminance": 0.21172
}

Semantic roles & 50–950 ramp

primary
#4C7CDD
secondary
#DFCCA6
accent
#B13DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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