#4E7AC0#4E7AC0

#4E7AC0 is a mid, moderate blue. Relative luminance 0.193; OKLCH L 58.0% C 0.119 H 259.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E7AC0
RGBrgb(78, 122, 192)
HSLhsl(217, 48%, 53%)
HSVhsv(217, 59%, 75%)
CMYKcmyk(59.4%, 36.5%, 0%, 24.7%)
CIE-LABlab(51.09, 6.30, -41.22)
CIE-LCHlch(51.09, 41.70, 278.69°)
OKLaboklab(58.01% -0.022 -0.1168)
OKLCHoklch(58.01% 0.119 259.3)
XYZxyz(19.6125, 19.3428, 52.5590)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AC0 #C0944E
analogous
#4EB3C0 #4E7AC0 #5B4EC0
triadic
#4E7AC0 #C04E7A #7AC04E
tetradic
#4E7AC0 #C04EB3 #C0944E #4EC05B
square
#4E7AC0 #C04EB3 #C0944E #4EC05B
split-complementary
#4E7AC0 #C05B4E #B3C04E
monochromatic
#27426D #375D9A #4E7AC0 #7B9CD0 #A8BEE0

Accessibility & contrast

On white

4.31
#4E7AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4E7AC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AC0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AC0#FFFFFF#000000##000000
##4E7AC01.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D80C3
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7ac0;
/* rgb */ color: rgb(78, 122, 192);
/* oklch */ color: oklch(58.0% 0.119 259.3);
Tailwind
colors: {
  custom: {
    50: '#89a0d3',
    500: '#4e7ac0',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ac0;
$custom-light: #89a0d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ac0",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 192
  },
  "hsl": {
    "h": 216.842,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.11884,
    "h": 259.3
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#4E7AC0
secondary
#CEBB9C
accent
#A351D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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