#4C7BCA#4C7BCA

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

Color values

HEX#4C7BCA
RGBrgb(76, 123, 202)
HSLhsl(218, 54%, 55%)
HSVhsv(218, 62%, 79%)
CMYKcmyk(62.4%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.80, 8.69, -45.82)
CIE-LCHlch(51.80, 46.63, 280.74°)
OKLaboklab(58.71% -0.0225 -0.1302)
OKLCHoklch(58.71% 0.132 260.2)
XYZxyz(20.7204, 19.9648, 58.6273)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BCA #CA9B4C
analogous
#4CBACA #4C7BCA #5C4CCA
triadic
#4C7BCA #CA4C7B #7BCA4C
tetradic
#4C7BCA #CA4CBA #CA9B4C #4CCA5C
square
#4C7BCA #CA4CBA #CA9B4C #4CCA5C
split-complementary
#4C7BCA #CA5C4C #BACA4C
monochromatic
#244378 #325DA7 #4C7BCA #7B9ED8 #AAC1E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7BCA#FFFFFF#000000##000000
##4C7BCA1.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)
#5882CD
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c7bca;
/* rgb */ color: rgb(76, 123, 202);
/* oklch */ color: oklch(58.7% 0.132 260.2);
Tailwind
colors: {
  custom: {
    50: '#89a0da',
    500: '#4c7bca',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bca;
$custom-light: #89a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bca",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 217.619,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.13217,
    "h": 260.2
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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