#4E7AC4#4E7AC4

#4E7AC4 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.2% C 0.124 H 260.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E7AC4
RGBrgb(78, 122, 196)
HSLhsl(218, 50%, 54%)
HSVhsv(218, 60%, 77%)
CMYKcmyk(60.2%, 37.8%, 0%, 23.1%)
CIE-LABlab(51.29, 7.64, -43.19)
CIE-LCHlch(51.29, 43.86, 280.04°)
OKLaboklab(58.24% -0.0211 -0.1225)
OKLCHoklch(58.24% 0.124 260.2)
XYZxyz(20.0617, 19.5225, 54.9249)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AC4 #C4984E
analogous
#4EB5C4 #4E7AC4 #5D4EC4
triadic
#4E7AC4 #C44E7A #7AC44E
tetradic
#4E7AC4 #C44EB5 #C4984E #4EC45D
square
#4E7AC4 #C44EB5 #C4984E #4EC45D
split-complementary
#4E7AC4 #C45D4E #B5C44E
monochromatic
#264272 #355DA0 #4E7AC4 #7C9CD3 #AABFE3

Accessibility & contrast

On white

4.28
#4E7AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4E7AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AC4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AC4#FFFFFF#000000##000000
##4E7AC41.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C7
Deuteranopia (green-blind)
#4B75C2
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7ac4;
/* rgb */ color: rgb(78, 122, 196);
/* oklch */ color: oklch(58.2% 0.124 260.2);
Tailwind
colors: {
  custom: {
    50: '#89a0d6',
    500: '#4e7ac4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ac4;
$custom-light: #89a0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ac4",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 217.627,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.12432,
    "h": 260.2
  },
  "luminance": 0.19524
}

Semantic roles & 50–950 ramp

primary
#4E7AC4
secondary
#D0BD9E
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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