#4E7FD0#4E7FD0

#4E7FD0 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.0% C 0.135 H 259.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD0
RGBrgb(78, 127, 208)
HSLhsl(217, 58%, 56%)
HSVhsv(217, 63%, 82%)
CMYKcmyk(62.5%, 38.9%, 0%, 18.4%)
CIE-LABlab(53.33, 8.68, -46.78)
CIE-LCHlch(53.33, 47.58, 280.51°)
OKLaboklab(60.02% -0.0236 -0.133)
OKLCHoklch(60.02% 0.135 259.9)
XYZxyz(22.1124, 21.3505, 62.6180)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD0 #D09F4E
analogous
#4EC0D0 #4E7FD0 #5E4ED0
triadic
#4E7FD0 #D04E7F #7FD04E
tetradic
#4E7FD0 #D04EC0 #D09F4E #4ED05E
square
#4E7FD0 #D04EC0 #D09F4E #4ED05E
split-complementary
#4E7FD0 #D05E4E #C0D04E
monochromatic
#224681 #2F60B2 #4E7FD0 #7EA2DD #AFC5EA

Accessibility & contrast

On white

3.98
#4E7FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E7FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD0#FFFFFF#000000##000000
##4E7FD01.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B86D3
Deuteranopia (green-blind)
#497ACE
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7fd0;
/* rgb */ color: rgb(78, 127, 208);
/* oklch */ color: oklch(60.0% 0.135 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ba3df',
    500: '#4e7fd0',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd0;
$custom-light: #8ba3df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd0",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 208
  },
  "hsl": {
    "h": 217.385,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.13507,
    "h": 259.9
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#4E7FD0
secondary
#D8C4A2
accent
#A747E1
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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