#4C7ACF#4C7ACF

#4C7ACF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.8% C 0.140 H 261.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4C7ACF
RGBrgb(76, 122, 207)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 63%, 81%)
CMYKcmyk(63.3%, 41.1%, 0%, 18.8%)
CIE-LABlab(51.79, 11.02, -48.67)
CIE-LCHlch(51.79, 49.90, 282.76°)
OKLaboklab(58.79% -0.0204 -0.1386)
OKLCHoklch(58.79% 0.14 261.6)
XYZxyz(21.1986, 19.9586, 61.7546)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ACF #CFA14C
analogous
#4CBCCF #4C7ACF #5F4CCF
triadic
#4C7ACF #CF4C7A #7ACF4C
tetradic
#4C7ACF #CF4CBC #CFA14C #4CCF5F
square
#4C7ACF #CF4CBC #CFA14C #4CCF5F
split-complementary
#4C7ACF #CF5F4C #BCCF4C
monochromatic
#22437F #2F5CAF #4C7ACF #7C9EDC #ADC2E9

Accessibility & contrast

On white

4.21
#4C7ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4C7ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ACF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ACF#FFFFFF#000000##000000
##4C7ACF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#4076CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c7acf;
/* rgb */ color: rgb(76, 122, 207);
/* oklch */ color: oklch(58.8% 0.140 261.6);
Tailwind
colors: {
  custom: {
    50: '#8aa0de',
    500: '#4c7acf',
    950: '#000000',
  },
}
SCSS
$custom: #4c7acf;
$custom-light: #8aa0de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7acf",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 218.931,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.14011,
    "h": 261.6
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#4C7ACF
secondary
#D7C4A0
accent
#AB47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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