#4C7EDE#4C7EDE

#4C7EDE is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.6% C 0.156 H 262.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4C7EDE
RGBrgb(76, 126, 222)
HSLhsl(219, 69%, 58%)
HSVhsv(219, 66%, 87%)
CMYKcmyk(65.8%, 43.2%, 0%, 12.9%)
CIE-LABlab(53.74, 13.76, -54.04)
CIE-LCHlch(53.74, 55.76, 284.29°)
OKLaboklab(60.57% -0.0215 -0.1543)
OKLCHoklch(60.57% 0.156 262.1)
XYZxyz(23.6215, 21.7298, 72.0425)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EDE #DEAC4C
analogous
#4CC7DE #4C7EDE #634CDE
triadic
#4C7EDE #DE4C7E #7EDE4C
tetradic
#4C7EDE #DE4CC7 #DEAC4C #4CDE63
square
#4C7EDE #DE4CC7 #DEAC4C #4CDE63
split-complementary
#4C7EDE #DE634C #C7DE4C
monochromatic
#1B4594 #255DC8 #4C7EDE #80A3E8 #B3C8F1

Accessibility & contrast

On white

3.93
#4C7EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4C7EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EDE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EDE#FFFFFF#000000##000000
##4C7EDE1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E2
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7ede;
/* rgb */ color: rgb(76, 126, 222);
/* oklch */ color: oklch(60.6% 0.156 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ca2e9',
    500: '#4c7ede',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ede;
$custom-light: #8ca2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ede",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 219.452,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60567,
    "c": 0.1558,
    "h": 262.1
  },
  "luminance": 0.21732
}

Semantic roles & 50–950 ramp

primary
#4C7EDE
secondary
#E0CCA6
accent
#B03CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4C7EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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