#4E7AC8#4E7AC8

#4E7AC8 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.5% C 0.130 H 261.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4E7AC8
RGBrgb(78, 122, 200)
HSLhsl(218, 53%, 55%)
HSVhsv(218, 61%, 78%)
CMYKcmyk(61%, 39%, 0%, 21.6%)
CIE-LABlab(51.50, 9.00, -45.14)
CIE-LCHlch(51.50, 46.02, 281.27°)
OKLaboklab(58.47% -0.0201 -0.1282)
OKLCHoklch(58.47% 0.13 261.1)
XYZxyz(20.5231, 19.7071, 57.3547)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AC8 #C89C4E
analogous
#4EB7C8 #4E7AC8 #5F4EC8
triadic
#4E7AC8 #C84E7A #7AC84E
tetradic
#4E7AC8 #C84EB7 #C89C4E #4EC85F
square
#4E7AC8 #C84EB7 #C89C4E #4EC85F
split-complementary
#4E7AC8 #C85F4E #B7C84E
monochromatic
#254277 #335DA5 #4E7AC8 #7D9DD7 #ABC0E5

Accessibility & contrast

On white

4.25
#4E7AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4E7AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AC8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AC8#FFFFFF#000000##000000
##4E7AC81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#4776C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7ac8;
/* rgb */ color: rgb(78, 122, 200);
/* oklch */ color: oklch(58.5% 0.130 261.1);
Tailwind
colors: {
  custom: {
    50: '#8aa0d9',
    500: '#4e7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ac8;
$custom-light: #8aa0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ac8",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 218.361,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.12979,
    "h": 261.1
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#4E7AC8
secondary
#D3C09F
accent
#A84CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4E7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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