#4E7CC1#4E7CC1

#4E7CC1 is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.5% C 0.118 H 258.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E7CC1
RGBrgb(78, 124, 193)
HSLhsl(216, 48%, 53%)
HSVhsv(216, 60%, 76%)
CMYKcmyk(59.6%, 35.8%, 0%, 24.3%)
CIE-LABlab(51.71, 5.42, -40.82)
CIE-LCHlch(51.71, 41.18, 277.57°)
OKLaboklab(58.51% -0.024 -0.1156)
OKLCHoklch(58.51% 0.118 258.3)
XYZxyz(19.9718, 19.8835, 53.2272)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CC1 #C1934E
analogous
#4EB5C1 #4E7CC1 #594EC1
triadic
#4E7CC1 #C14E7C #7CC14E
tetradic
#4E7CC1 #C14EB5 #C1934E #4EC159
square
#4E7CC1 #C14EB5 #C1934E #4EC159
split-complementary
#4E7CC1 #C1594E #B5C14E
monochromatic
#27436E #365F9B #4E7CC1 #7B9ED1 #A9BFE1

Accessibility & contrast

On white

4.22
#4E7CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E7CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CC1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CC1#FFFFFF#000000##000000
##4E7CC11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C4
Deuteranopia (green-blind)
#5076C0
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7cc1;
/* rgb */ color: rgb(78, 124, 193);
/* oklch */ color: oklch(58.5% 0.118 258.3);
Tailwind
colors: {
  custom: {
    50: '#89a1d4',
    500: '#4e7cc1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cc1;
$custom-light: #89a1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cc1",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 193
  },
  "hsl": {
    "h": 216,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58506,
    "c": 0.11804,
    "h": 258.3
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#4E7CC1
secondary
#CEBA9D
accent
#A150D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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