#4E7FC8#4E7FC8

#4E7FC8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.124 H 258.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4E7FC8
RGBrgb(78, 127, 200)
HSLhsl(216, 53%, 55%)
HSVhsv(216, 61%, 78%)
CMYKcmyk(61%, 36.5%, 0%, 21.6%)
CIE-LABlab(52.91, 5.96, -42.90)
CIE-LCHlch(52.91, 43.32, 277.91°)
OKLaboklab(59.56% -0.0255 -0.1216)
OKLCHoklch(59.56% 0.124 258.2)
XYZxyz(21.1529, 20.9667, 57.5646)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FC8 #C8974E
analogous
#4EBCC8 #4E7FC8 #5A4EC8
triadic
#4E7FC8 #C84E7F #7FC84E
tetradic
#4E7FC8 #C84EBC #C8974E #4EC85A
square
#4E7FC8 #C84EBC #C8974E #4EC85A
split-complementary
#4E7FC8 #C85A4E #BCC84E
monochromatic
#254677 #3361A5 #4E7FC8 #7DA1D7 #ABC3E5

Accessibility & contrast

On white

4.04
#4E7FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4E7FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FC8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FC8#FFFFFF#000000##000000
##4E7FC81.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#4F79C6
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7fc8;
/* rgb */ color: rgb(78, 127, 200);
/* oklch */ color: oklch(59.6% 0.124 258.2);
Tailwind
colors: {
  custom: {
    50: '#8aa3d9',
    500: '#4e7fc8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fc8;
$custom-light: #8aa3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fc8",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 215.902,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.12428,
    "h": 258.2
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#4E7FC8
secondary
#D3BE9F
accent
#A24CDC
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4E7FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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