#4C7CDE#4C7CDE

#4C7CDE is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.158 H 262.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C7CDE
RGBrgb(76, 124, 222)
HSLhsl(220, 69%, 58%)
HSVhsv(220, 66%, 87%)
CMYKcmyk(65.8%, 44.1%, 0%, 12.9%)
CIE-LABlab(53.19, 14.99, -54.91)
CIE-LCHlch(53.19, 56.92, 285.26°)
OKLaboklab(60.15% -0.0196 -0.1569)
OKLCHoklch(60.15% 0.158 262.9)
XYZxyz(23.3683, 21.2235, 71.9581)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CDE #DEAE4C
analogous
#4CC5DE #4C7CDE #654CDE
triadic
#4C7CDE #DE4C7C #7CDE4C
tetradic
#4C7CDE #DE4CC5 #DEAE4C #4CDE65
square
#4C7CDE #DE4CC5 #DEAE4C #4CDE65
split-complementary
#4C7CDE #DE654C #C5DE4C
monochromatic
#1B4394 #255AC8 #4C7CDE #80A2E8 #B3C8F1

Accessibility & contrast

On white

4.00
#4C7CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C7CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CDE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CDE#FFFFFF#000000##000000
##4C7CDE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E2
Deuteranopia (green-blind)
#3379DC
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7cde;
/* rgb */ color: rgb(76, 124, 222);
/* oklch */ color: oklch(60.1% 0.158 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ca1e9',
    500: '#4c7cde',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cde;
$custom-light: #8ca1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cde",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 222
  },
  "hsl": {
    "h": 220.274,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.15812,
    "h": 262.9
  },
  "luminance": 0.21226
}

Semantic roles & 50–950 ramp

primary
#4C7CDE
secondary
#E0CDA6
accent
#B23CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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