#4C7CD2#4C7CD2

#4C7CD2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.142 H 261.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4C7CD2
RGBrgb(76, 124, 210)
HSLhsl(219, 60%, 56%)
HSVhsv(219, 64%, 82%)
CMYKcmyk(63.8%, 41%, 0%, 17.6%)
CIE-LABlab(52.51, 10.83, -49.22)
CIE-LCHlch(52.51, 50.40, 282.41°)
OKLaboklab(59.4% -0.0218 -0.1402)
OKLCHoklch(59.4% 0.142 261.2)
XYZxyz(21.8169, 20.6029, 63.7873)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CD2 #D2A24C
analogous
#4CBFD2 #4C7CD2 #5F4CD2
triadic
#4C7CD2 #D24C7C #7CD24C
tetradic
#4C7CD2 #D24CBF #D2A24C #4CD25F
square
#4C7CD2 #D24CBF #D2A24C #4CD25F
split-complementary
#4C7CD2 #D25F4C #BFD24C
monochromatic
#214483 #2D5DB4 #4C7CD2 #7DA0DE #AEC4EB

Accessibility & contrast

On white

4.10
#4C7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4C7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CD2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CD2#FFFFFF#000000##000000
##4C7CD21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D5
Deuteranopia (green-blind)
#4178D0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7cd2;
/* rgb */ color: rgb(76, 124, 210);
/* oklch */ color: oklch(59.4% 0.142 261.2);
Tailwind
colors: {
  custom: {
    50: '#8aa1e0',
    500: '#4c7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cd2;
$custom-light: #8aa1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cd2",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 218.507,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.594,
    "c": 0.1419,
    "h": 261.2
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#4C7CD2
secondary
#D9C5A1
accent
#AA45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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