#4E7FD8#4E7FD8

#4E7FD8 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.146 H 261.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD8
RGBrgb(78, 127, 216)
HSLhsl(219, 64%, 58%)
HSVhsv(219, 64%, 85%)
CMYKcmyk(63.9%, 41.2%, 0%, 15.3%)
CIE-LABlab(53.77, 11.41, -50.61)
CIE-LCHlch(53.77, 51.88, 282.71°)
OKLaboklab(60.5% -0.0219 -0.1442)
OKLCHoklch(60.5% 0.146 261.4)
XYZxyz(23.1216, 21.7541, 67.9329)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD8 #D8A74E
analogous
#4EC4D8 #4E7FD8 #624ED8
triadic
#4E7FD8 #D84E7F #7FD84E
tetradic
#4E7FD8 #D84EC4 #D8A74E #4ED862
square
#4E7FD8 #D84EC4 #D8A74E #4ED862
split-complementary
#4E7FD8 #D8624E #C4D84E
monochromatic
#1F468D #2A5FBF #4E7FD8 #80A3E3 #B2C8EE

Accessibility & contrast

On white

3.92
#4E7FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4E7FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD8#FFFFFF#000000##000000
##4E7FD81.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DB
Deuteranopia (green-blind)
#427BD6
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7fd8;
/* rgb */ color: rgb(78, 127, 216);
/* oklch */ color: oklch(60.5% 0.146 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ca3e4',
    500: '#4e7fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd8;
$custom-light: #8ca3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd8",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 218.696,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.14588,
    "h": 261.4
  },
  "luminance": 0.21756
}

Semantic roles & 50–950 ramp

primary
#4E7FD8
secondary
#DDC9A5
accent
#AC41E7
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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