#4C7BDC#4C7BDC

#4C7BDC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.157 H 263.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4C7BDC
RGBrgb(76, 123, 220)
HSLhsl(220, 67%, 58%)
HSVhsv(220, 65%, 86%)
CMYKcmyk(65.5%, 44.1%, 0%, 13.7%)
CIE-LABlab(52.80, 14.91, -54.41)
CIE-LCHlch(52.80, 56.41, 285.32°)
OKLaboklab(59.81% -0.019 -0.1554)
OKLCHoklch(59.81% 0.157 263)
XYZxyz(22.9772, 20.8675, 70.5132)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BDC #DCAD4C
analogous
#4CC3DC #4C7BDC #654CDC
triadic
#4C7BDC #DC4C7B #7BDC4C
tetradic
#4C7BDC #DC4CC3 #DCAD4C #4CDC65
square
#4C7BDC #DC4CC3 #DCAD4C #4CDC65
split-complementary
#4C7BDC #DC654C #C3DC4C
monochromatic
#1C4391 #265AC4 #4C7BDC #7FA1E6 #B2C6F0

Accessibility & contrast

On white

4.06
#4C7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4C7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BDC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BDC#FFFFFF#000000##000000
##4C7BDC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#3478DA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7bdc;
/* rgb */ color: rgb(76, 123, 220);
/* oklch */ color: oklch(59.8% 0.157 263.0);
Tailwind
colors: {
  custom: {
    50: '#8ca0e7',
    500: '#4c7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bdc;
$custom-light: #8ca0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bdc",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 220.417,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.1566,
    "h": 263
  },
  "luminance": 0.2087
}

Semantic roles & 50–950 ramp

primary
#4C7BDC
secondary
#DFCCA5
accent
#B23EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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