#4C7CDA#4C7CDA

#4C7CDA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.153 H 262.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C7CDA
RGBrgb(76, 124, 218)
HSLhsl(220, 66%, 58%)
HSVhsv(220, 65%, 85%)
CMYKcmyk(65.1%, 43.1%, 0%, 14.5%)
CIE-LABlab(52.96, 13.60, -53.03)
CIE-LCHlch(52.96, 54.74, 284.38°)
OKLaboklab(59.89% -0.0203 -0.1514)
OKLCHoklch(59.89% 0.153 262.4)
XYZxyz(22.8386, 21.0116, 69.1681)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CDA #DAAA4C
analogous
#4CC3DA #4C7CDA #634CDA
triadic
#4C7CDA #DA4C7C #7CDA4C
tetradic
#4C7CDA #DA4CC3 #DAAA4C #4CDA63
square
#4C7CDA #DA4CC3 #DAAA4C #4CDA63
split-complementary
#4C7CDA #DA634C #C3DA4C
monochromatic
#1D448E #285CC1 #4C7CDA #7FA1E4 #B1C6EF

Accessibility & contrast

On white

4.04
#4C7CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4C7CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CDA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CDA#FFFFFF#000000##000000
##4C7CDA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DE
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7cda;
/* rgb */ color: rgb(76, 124, 218);
/* oklch */ color: oklch(59.9% 0.153 262.4);
Tailwind
colors: {
  custom: {
    50: '#8ca1e6',
    500: '#4c7cda',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cda;
$custom-light: #8ca1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cda",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 219.718,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59894,
    "c": 0.15273,
    "h": 262.4
  },
  "luminance": 0.21014
}

Semantic roles & 50–950 ramp

primary
#4C7CDA
secondary
#DDCAA4
accent
#AF3FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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