#4E7FCC#4E7FCC

#4E7FCC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.130 H 259.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E7FCC
RGBrgb(78, 127, 204)
HSLhsl(217, 55%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(61.8%, 37.7%, 0%, 20%)
CIE-LABlab(53.12, 7.32, -44.85)
CIE-LCHlch(53.12, 45.44, 279.27°)
OKLaboklab(59.79% -0.0245 -0.1273)
OKLCHoklch(59.79% 0.13 259.1)
XYZxyz(21.6265, 21.1561, 60.0589)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FCC #CC9B4E
analogous
#4EBECC #4E7FCC #5C4ECC
triadic
#4E7FCC #CC4E7F #7FCC4E
tetradic
#4E7FCC #CC4EBE #CC9B4E #4ECC5C
square
#4E7FCC #CC4EBE #CC9B4E #4ECC5C
split-complementary
#4E7FCC #CC5C4E #BECC4E
monochromatic
#24467C #3161AB #4E7FCC #7EA1DA #ADC4E7

Accessibility & contrast

On white

4.01
#4E7FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4E7FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FCC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FCC#FFFFFF#000000##000000
##4E7FCC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7fcc;
/* rgb */ color: rgb(78, 127, 204);
/* oklch */ color: oklch(59.8% 0.130 259.1);
Tailwind
colors: {
  custom: {
    50: '#8aa3dc',
    500: '#4e7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fcc;
$custom-light: #8aa3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fcc",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 216.667,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.12967,
    "h": 259.1
  },
  "luminance": 0.21158
}

Semantic roles & 50–950 ramp

primary
#4E7FCC
secondary
#D5C1A1
accent
#A449DF
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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