#4E7FDC#4E7FDC

#4E7FDC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.151 H 262.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E7FDC
RGBrgb(78, 127, 220)
HSLhsl(219, 67%, 58%)
HSVhsv(219, 65%, 86%)
CMYKcmyk(64.5%, 42.3%, 0%, 13.7%)
CIE-LABlab(53.99, 12.79, -52.51)
CIE-LCHlch(53.99, 54.04, 283.69°)
OKLaboklab(60.75% -0.0211 -0.1498)
OKLCHoklch(60.75% 0.151 262)
XYZxyz(23.6450, 21.9635, 70.6896)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FDC #DCAB4E
analogous
#4EC6DC #4E7FDC #644EDC
triadic
#4E7FDC #DC4E7F #7FDC4E
tetradic
#4E7FDC #DC4EC6 #DCAB4E #4EDC64
square
#4E7FDC #DC4EC6 #DCAB4E #4EDC64
split-complementary
#4E7FDC #DC644E #C6DC4E
monochromatic
#1D4693 #275EC6 #4E7FDC #81A4E6 #B4C9F0

Accessibility & contrast

On white

3.89
#4E7FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4E7FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FDC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FDC#FFFFFF#000000##000000
##4E7FDC1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7fdc;
/* rgb */ color: rgb(78, 127, 220);
/* oklch */ color: oklch(60.7% 0.151 262.0);
Tailwind
colors: {
  custom: {
    50: '#8da3e7',
    500: '#4e7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fdc;
$custom-light: #8da3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fdc",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 219.296,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.15126,
    "h": 262
  },
  "luminance": 0.21966
}

Semantic roles & 50–950 ramp

primary
#4E7FDC
secondary
#DFCCA7
accent
#AF3EEA
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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