#4E7FCD#4E7FCD

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

Color values

HEX#4E7FCD
RGBrgb(78, 127, 205)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(62%, 38%, 0%, 19.6%)
CIE-LABlab(53.17, 7.66, -45.33)
CIE-LCHlch(53.17, 45.98, 279.59°)
OKLaboklab(59.85% -0.0243 -0.1287)
OKLCHoklch(59.85% 0.131 259.3)
XYZxyz(21.7468, 21.2042, 60.6926)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FCD #CD9C4E
analogous
#4EBFCD #4E7FCD #5C4ECD
triadic
#4E7FCD #CD4E7F #7FCD4E
tetradic
#4E7FCD #CD4EBF #CD9C4E #4ECD5C
square
#4E7FCD #CD4EBF #CD9C4E #4ECD5C
split-complementary
#4E7FCD #CD5C4E #BFCD4E
monochromatic
#23467D #3161AD #4E7FCD #7EA2DA #ADC4E8

Accessibility & contrast

On white

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

On black

5.24
#4E7FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FCD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FCD#FFFFFF#000000##000000
##4E7FCD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7fcd;
/* rgb */ color: rgb(78, 127, 205);
/* oklch */ color: oklch(59.8% 0.131 259.3);
Tailwind
colors: {
  custom: {
    50: '#8ba3dc',
    500: '#4e7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fcd;
$custom-light: #8ba3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fcd",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 216.85,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.13102,
    "h": 259.3
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#4E7FCD
secondary
#D6C1A1
accent
#A549DF
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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