#4C7BDD#4C7BDD

#4C7BDD is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.9% C 0.158 H 263.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4C7BDD
RGBrgb(76, 123, 221)
HSLhsl(221, 68%, 58%)
HSVhsv(221, 66%, 87%)
CMYKcmyk(65.6%, 44.3%, 0%, 13.3%)
CIE-LABlab(52.86, 15.25, -54.88)
CIE-LCHlch(52.86, 56.96, 285.53°)
OKLaboklab(59.87% -0.0188 -0.1568)
OKLCHoklch(59.87% 0.158 263.2)
XYZxyz(23.1100, 20.9206, 71.2128)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BDD #DDAE4C
analogous
#4CC3DD #4C7BDD #654CDD
triadic
#4C7BDD #DD4C7B #7BDD4C
tetradic
#4C7BDD #DD4CC3 #DDAE4C #4CDD65
square
#4C7BDD #DD4CC3 #DDAE4C #4CDD65
split-complementary
#4C7BDD #DD654C #C3DD4C
monochromatic
#1C4293 #265AC6 #4C7BDD #7FA1E7 #B3C7F1

Accessibility & contrast

On white

4.05
#4C7BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4C7BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BDD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BDD#FFFFFF#000000##000000
##4C7BDD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E1
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7bdd;
/* rgb */ color: rgb(76, 123, 221);
/* oklch */ color: oklch(59.9% 0.158 263.2);
Tailwind
colors: {
  custom: {
    50: '#8ca0e8',
    500: '#4c7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bdd;
$custom-light: #8ca0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bdd",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 220.552,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.15795,
    "h": 263.2
  },
  "luminance": 0.20923
}

Semantic roles & 50–950 ramp

primary
#4C7BDD
secondary
#DFCDA6
accent
#B33DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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