#4C7EDA#4C7EDA

#4C7EDA is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.150 H 261.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4C7EDA
RGBrgb(76, 126, 218)
HSLhsl(219, 66%, 58%)
HSVhsv(219, 65%, 85%)
CMYKcmyk(65.1%, 42.2%, 0%, 14.5%)
CIE-LABlab(53.51, 12.37, -52.15)
CIE-LCHlch(53.51, 53.60, 283.35°)
OKLaboklab(60.32% -0.0222 -0.1488)
OKLCHoklch(60.32% 0.15 261.5)
XYZxyz(23.0918, 21.5179, 69.2525)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EDA #DAA84C
analogous
#4CC5DA #4C7EDA #614CDA
triadic
#4C7EDA #DA4C7E #7EDA4C
tetradic
#4C7EDA #DA4CC5 #DAA84C #4CDA61
square
#4C7EDA #DA4CC5 #DAA84C #4CDA61
split-complementary
#4C7EDA #DA614C #C5DA4C
monochromatic
#1D458E #285EC1 #4C7EDA #7FA3E4 #B1C7EF

Accessibility & contrast

On white

3.96
#4C7EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4C7EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EDA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EDA#FFFFFF#000000##000000
##4C7EDA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DE
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7eda;
/* rgb */ color: rgb(76, 126, 218);
/* oklch */ color: oklch(60.3% 0.150 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ca2e6',
    500: '#4c7eda',
    950: '#000000',
  },
}
SCSS
$custom: #4c7eda;
$custom-light: #8ca2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7eda",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 218.873,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.15042,
    "h": 261.5
  },
  "luminance": 0.2152
}

Semantic roles & 50–950 ramp

primary
#4C7EDA
secondary
#DDC9A4
accent
#AD3FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4C7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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