#4C7ACA#4C7ACA

#4C7ACA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.5% C 0.133 H 260.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4C7ACA
RGBrgb(76, 122, 202)
HSLhsl(218, 54%, 55%)
HSVhsv(218, 62%, 79%)
CMYKcmyk(62.4%, 39.6%, 0%, 20.8%)
CIE-LABlab(51.52, 9.30, -46.26)
CIE-LCHlch(51.52, 47.19, 281.37°)
OKLaboklab(58.49% -0.0214 -0.1316)
OKLCHoklch(58.49% 0.133 260.7)
XYZxyz(20.5969, 19.7180, 58.5862)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ACA #CA9C4C
analogous
#4CB9CA #4C7ACA #5D4CCA
triadic
#4C7ACA #CA4C7A #7ACA4C
tetradic
#4C7ACA #CA4CB9 #CA9C4C #4CCA5D
square
#4C7ACA #CA4CB9 #CA9C4C #4CCA5D
split-complementary
#4C7ACA #CA5D4C #B9CA4C
monochromatic
#244278 #325DA7 #4C7ACA #7B9DD8 #AAC0E6

Accessibility & contrast

On white

4.25
#4C7ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4C7ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ACA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ACA#FFFFFF#000000##000000
##4C7ACA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c7aca;
/* rgb */ color: rgb(76, 122, 202);
/* oklch */ color: oklch(58.5% 0.133 260.7);
Tailwind
colors: {
  custom: {
    50: '#89a0da',
    500: '#4c7aca',
    950: '#000000',
  },
}
SCSS
$custom: #4c7aca;
$custom-light: #89a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7aca",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 218.095,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.1333,
    "h": 260.7
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#4C7ACA
secondary
#D4C09E
accent
#A84ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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