#4E7FCF#4E7FCF

#4E7FCF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.134 H 259.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E7FCF
RGBrgb(78, 127, 207)
HSLhsl(217, 57%, 56%)
HSVhsv(217, 62%, 81%)
CMYKcmyk(62.3%, 38.6%, 0%, 18.8%)
CIE-LABlab(53.28, 8.34, -46.30)
CIE-LCHlch(53.28, 47.05, 280.21°)
OKLaboklab(59.97% -0.0238 -0.1316)
OKLCHoklch(59.97% 0.134 259.7)
XYZxyz(21.9898, 21.3014, 61.9721)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FCF #CF9E4E
analogous
#4EBFCF #4E7FCF #5D4ECF
triadic
#4E7FCF #CF4E7F #7FCF4E
tetradic
#4E7FCF #CF4EBF #CF9E4E #4ECF5D
square
#4E7FCF #CF4EBF #CF9E4E #4ECF5D
split-complementary
#4E7FCF #CF5D4E #BFCF4E
monochromatic
#234680 #3060B0 #4E7FCF #7EA2DC #AEC5E9

Accessibility & contrast

On white

3.99
#4E7FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4E7FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FCF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FCF#FFFFFF#000000##000000
##4E7FCF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4A7ACD
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7fcf;
/* rgb */ color: rgb(78, 127, 207);
/* oklch */ color: oklch(60.0% 0.134 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ba3de',
    500: '#4e7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fcf;
$custom-light: #8ba3de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fcf",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 217.209,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.13372,
    "h": 259.7
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#4E7FCF
secondary
#D7C3A2
accent
#A647E1
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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