#4C7CCF#4C7CCF

#4C7CCF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.138 H 260.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4C7CCF
RGBrgb(76, 124, 207)
HSLhsl(218, 58%, 55%)
HSVhsv(218, 63%, 81%)
CMYKcmyk(63.3%, 40.1%, 0%, 18.8%)
CIE-LABlab(52.35, 9.80, -47.78)
CIE-LCHlch(52.35, 48.78, 281.59°)
OKLaboklab(59.22% -0.0224 -0.136)
OKLCHoklch(59.22% 0.138 260.6)
XYZxyz(21.4467, 20.4548, 61.8373)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CCF #CF9F4C
analogous
#4CBECF #4C7CCF #5D4CCF
triadic
#4C7CCF #CF4C7C #7CCF4C
tetradic
#4C7CCF #CF4CBE #CF9F4C #4CCF5D
square
#4C7CCF #CF4CBE #CF9F4C #4CCF5D
split-complementary
#4C7CCF #CF5D4C #BECF4C
monochromatic
#22447F #2F5EAF #4C7CCF #7C9FDC #ADC3E9

Accessibility & contrast

On white

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

On black

5.09
#4C7CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CCF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CCF#FFFFFF#000000##000000
##4C7CCF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D2
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7ccf;
/* rgb */ color: rgb(76, 124, 207);
/* oklch */ color: oklch(59.2% 0.138 260.6);
Tailwind
colors: {
  custom: {
    50: '#8aa1de',
    500: '#4c7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ccf;
$custom-light: #8aa1de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ccf",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 218.015,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5922,
    "c": 0.13784,
    "h": 260.6
  },
  "luminance": 0.20457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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