#4C7CD0#4C7CD0

#4C7CD0 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.3% C 0.139 H 260.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4C7CD0
RGBrgb(76, 124, 208)
HSLhsl(218, 58%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(63.5%, 40.4%, 0%, 18.4%)
CIE-LABlab(52.40, 10.14, -48.27)
CIE-LCHlch(52.40, 49.32, 281.87°)
OKLaboklab(59.28% -0.0222 -0.1374)
OKLCHoklch(59.28% 0.139 260.8)
XYZxyz(21.5693, 20.5039, 62.4832)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CD0 #D0A04C
analogous
#4CBED0 #4C7CD0 #5E4CD0
triadic
#4C7CD0 #D04C7C #7CD04C
tetradic
#4C7CD0 #D04CBE #D0A04C #4CD05E
square
#4C7CD0 #D04CBE #D0A04C #4CD05E
split-complementary
#4C7CD0 #D05E4C #BED04C
monochromatic
#224480 #2E5EB0 #4C7CD0 #7C9FDD #ADC3E9

Accessibility & contrast

On white

4.12
#4C7CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4C7CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CD0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CD0#FFFFFF#000000##000000
##4C7CD01.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D3
Deuteranopia (green-blind)
#4377CE
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7cd0;
/* rgb */ color: rgb(76, 124, 208);
/* oklch */ color: oklch(59.3% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#8aa1df',
    500: '#4c7cd0',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cd0;
$custom-light: #8aa1df;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cd0",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 218.182,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.13919,
    "h": 260.8
  },
  "luminance": 0.20506
}

Semantic roles & 50–950 ramp

primary
#4C7CD0
secondary
#D7C3A0
accent
#A946E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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