#4C7BCD#4C7BCD

#4C7BCD is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.136 H 260.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4C7BCD
RGBrgb(76, 123, 205)
HSLhsl(218, 56%, 55%)
HSVhsv(218, 63%, 80%)
CMYKcmyk(62.9%, 40%, 0%, 19.6%)
CIE-LABlab(51.96, 9.72, -47.27)
CIE-LCHlch(51.96, 48.26, 281.62°)
OKLaboklab(58.88% -0.0218 -0.1345)
OKLCHoklch(58.88% 0.136 260.8)
XYZxyz(21.0790, 20.1082, 60.5162)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BCD #CD9E4C
analogous
#4CBBCD #4C7BCD #5E4CCD
triadic
#4C7BCD #CD4C7B #7BCD4C
tetradic
#4C7BCD #CD4CBB #CD9E4C #4CCD5E
square
#4C7BCD #CD4CBB #CD9E4C #4CCD5E
split-complementary
#4C7BCD #CD5E4C #BBCD4C
monochromatic
#23437C #305DAC #4C7BCD #7C9EDA #ACC2E8

Accessibility & contrast

On white

4.18
#4C7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4C7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BCD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BCD#FFFFFF#000000##000000
##4C7BCD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782D0
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c7bcd;
/* rgb */ color: rgb(76, 123, 205);
/* oklch */ color: oklch(58.9% 0.136 260.8);
Tailwind
colors: {
  custom: {
    50: '#8aa0dd',
    500: '#4c7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bcd;
$custom-light: #8aa0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bcd",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 218.14,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.13625,
    "h": 260.8
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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