#4E7CC4#4E7CC4

#4E7CC4 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.7% C 0.122 H 259.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4E7CC4
RGBrgb(78, 124, 196)
HSLhsl(217, 50%, 54%)
HSVhsv(217, 60%, 77%)
CMYKcmyk(60.2%, 36.7%, 0%, 23.1%)
CIE-LABlab(51.86, 6.43, -42.29)
CIE-LCHlch(51.86, 42.78, 278.65°)
OKLaboklab(58.68% -0.0232 -0.1199)
OKLCHoklch(58.68% 0.122 259)
XYZxyz(20.3098, 20.0187, 55.0076)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CC4 #C4964E
analogous
#4EB7C4 #4E7CC4 #5B4EC4
triadic
#4E7CC4 #C44E7C #7CC44E
tetradic
#4E7CC4 #C44EB7 #C4964E #4EC45B
square
#4E7CC4 #C44EB7 #C4964E #4EC45B
split-complementary
#4E7CC4 #C45B4E #B7C44E
monochromatic
#264372 #355FA0 #4E7CC4 #7C9ED3 #AAC0E3

Accessibility & contrast

On white

4.20
#4E7CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4E7CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CC4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CC4#FFFFFF#000000##000000
##4E7CC41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C7
Deuteranopia (green-blind)
#4E77C2
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7cc4;
/* rgb */ color: rgb(78, 124, 196);
/* oklch */ color: oklch(58.7% 0.122 259.0);
Tailwind
colors: {
  custom: {
    50: '#89a1d6',
    500: '#4e7cc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cc4;
$custom-light: #89a1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cc4",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 196
  },
  "hsl": {
    "h": 216.61,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58675,
    "c": 0.12211,
    "h": 259
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#4E7CC4
secondary
#D0BC9E
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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