#4E7FC4#4E7FC4

#4E7FC4 is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.3% C 0.119 H 257.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E7FC4
RGBrgb(78, 127, 196)
HSLhsl(215, 50%, 54%)
HSVhsv(215, 60%, 77%)
CMYKcmyk(60.2%, 35.2%, 0%, 23.1%)
CIE-LABlab(52.71, 4.62, -40.95)
CIE-LCHlch(52.71, 41.20, 276.44°)
OKLaboklab(59.34% -0.0265 -0.1159)
OKLCHoklch(59.34% 0.119 257.1)
XYZxyz(20.6915, 20.7821, 55.1348)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FC4 #C4934E
analogous
#4EBAC4 #4E7FC4 #584EC4
triadic
#4E7FC4 #C44E7F #7FC44E
tetradic
#4E7FC4 #C44EBA #C4934E #4EC458
square
#4E7FC4 #C44EBA #C4934E #4EC458
split-complementary
#4E7FC4 #C4584E #BAC44E
monochromatic
#264572 #3561A0 #4E7FC4 #7CA0D3 #AAC1E3

Accessibility & contrast

On white

4.07
#4E7FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E7FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FC4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FC4#FFFFFF#000000##000000
##4E7FC41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C7
Deuteranopia (green-blind)
#5279C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7fc4;
/* rgb */ color: rgb(78, 127, 196);
/* oklch */ color: oklch(59.3% 0.119 257.1);
Tailwind
colors: {
  custom: {
    50: '#89a3d6',
    500: '#4e7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fc4;
$custom-light: #89a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fc4",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 215.085,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59339,
    "c": 0.1189,
    "h": 257.1
  },
  "luminance": 0.20784
}

Semantic roles & 50–950 ramp

primary
#4E7FC4
secondary
#D0BB9E
accent
#A04EDA
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4E7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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