#4E7EC4#4E7EC4

#4E7EC4 is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.1% C 0.120 H 257.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E7EC4
RGBrgb(78, 126, 196)
HSLhsl(216, 50%, 54%)
HSVhsv(216, 60%, 77%)
CMYKcmyk(60.2%, 35.7%, 0%, 23.1%)
CIE-LABlab(52.43, 5.22, -41.39)
CIE-LCHlch(52.43, 41.72, 277.19°)
OKLaboklab(59.12% -0.0254 -0.1172)
OKLCHoklch(59.12% 0.12 257.8)
XYZxyz(20.5630, 20.5251, 55.0920)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EC4 #C4944E
analogous
#4EB9C4 #4E7EC4 #594EC4
triadic
#4E7EC4 #C44E7E #7EC44E
tetradic
#4E7EC4 #C44EB9 #C4944E #4EC459
square
#4E7EC4 #C44EB9 #C4944E #4EC459
split-complementary
#4E7EC4 #C4594E #B9C44E
monochromatic
#264572 #3560A0 #4E7EC4 #7C9FD3 #AAC1E3

Accessibility & contrast

On white

4.11
#4E7EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E7EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EC4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EC4#FFFFFF#000000##000000
##4E7EC41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6083C7
Deuteranopia (green-blind)
#5178C3
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7ec4;
/* rgb */ color: rgb(78, 126, 196);
/* oklch */ color: oklch(59.1% 0.120 257.8);
Tailwind
colors: {
  custom: {
    50: '#89a3d6',
    500: '#4e7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ec4;
$custom-light: #89a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ec4",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 215.593,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59117,
    "c": 0.11996,
    "h": 257.8
  },
  "luminance": 0.20527
}

Semantic roles & 50–950 ramp

primary
#4E7EC4
secondary
#D0BC9E
accent
#A14EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4E7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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