#4C7CCE#4C7CCE

#4C7CCE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.136 H 260.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4C7CCE
RGBrgb(76, 124, 206)
HSLhsl(218, 57%, 55%)
HSVhsv(218, 63%, 81%)
CMYKcmyk(63.1%, 39.8%, 0%, 19.2%)
CIE-LABlab(52.29, 9.45, -47.30)
CIE-LCHlch(52.29, 48.24, 281.30°)
OKLaboklab(59.16% -0.0226 -0.1346)
OKLCHoklch(59.16% 0.136 260.5)
XYZxyz(21.3248, 20.4061, 61.1955)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CCE #CE9E4C
analogous
#4CBDCE #4C7CCE #5D4CCE
triadic
#4C7CCE #CE4C7C #7CCE4C
tetradic
#4C7CCE #CE4CBD #CE9E4C #4CCE5D
square
#4C7CCE #CE4CBD #CE9E4C #4CCE5D
split-complementary
#4C7CCE #CE5D4C #BDCE4C
monochromatic
#22447D #2F5EAD #4C7CCE #7C9FDB #ACC2E8

Accessibility & contrast

On white

4.13
#4C7CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4C7CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CCE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CCE#FFFFFF#000000##000000
##4C7CCE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D1
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7cce;
/* rgb */ color: rgb(76, 124, 206);
/* oklch */ color: oklch(59.2% 0.136 260.5);
Tailwind
colors: {
  custom: {
    50: '#8aa1dd',
    500: '#4c7cce',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cce;
$custom-light: #8aa1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cce",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 217.846,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.13647,
    "h": 260.5
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#4C7CCE
secondary
#D6C2A0
accent
#A848E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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