#4E7FC6#4E7FC6

#4E7FC6 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.122 H 257.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E7FC6
RGBrgb(78, 127, 198)
HSLhsl(216, 51%, 54%)
HSVhsv(216, 61%, 78%)
CMYKcmyk(60.6%, 35.9%, 0%, 22.4%)
CIE-LABlab(52.81, 5.29, -41.93)
CIE-LCHlch(52.81, 42.26, 277.19°)
OKLaboklab(59.45% -0.026 -0.1188)
OKLCHoklch(59.45% 0.122 257.7)
XYZxyz(20.9207, 20.8738, 56.3417)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FC6 #C6954E
analogous
#4EBBC6 #4E7FC6 #594EC6
triadic
#4E7FC6 #C64E7F #7FC64E
tetradic
#4E7FC6 #C64EBB #C6954E #4EC659
square
#4E7FC6 #C64EBB #C6954E #4EC659
split-complementary
#4E7FC6 #C6594E #BBC64E
monochromatic
#254674 #3461A2 #4E7FC6 #7CA0D5 #ABC2E4

Accessibility & contrast

On white

4.06
#4E7FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4E7FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FC6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FC6#FFFFFF#000000##000000
##4E7FC61.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6184C9
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7fc6;
/* rgb */ color: rgb(78, 127, 198);
/* oklch */ color: oklch(59.5% 0.122 257.7);
Tailwind
colors: {
  custom: {
    50: '#8aa3d7',
    500: '#4e7fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fc6;
$custom-light: #8aa3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fc6",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 215.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.12158,
    "h": 257.7
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#4E7FC6
secondary
#D1BD9E
accent
#A14DDB
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4E7FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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