#4E7ACC#4E7ACC

#4E7ACC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.7% C 0.135 H 261.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E7ACC
RGBrgb(78, 122, 204)
HSLhsl(219, 55%, 55%)
HSVhsv(219, 62%, 80%)
CMYKcmyk(61.8%, 40.2%, 0%, 20%)
CIE-LABlab(51.72, 10.36, -47.07)
CIE-LCHlch(51.72, 48.20, 282.41°)
OKLaboklab(58.71% -0.0193 -0.1339)
OKLCHoklch(58.71% 0.135 261.8)
XYZxyz(20.9967, 19.8965, 59.8489)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ACC #CCA04E
analogous
#4EB9CC #4E7ACC #614ECC
triadic
#4E7ACC #CC4E7A #7ACC4E
tetradic
#4E7ACC #CC4EB9 #CCA04E #4ECC61
square
#4E7ACC #CC4EB9 #CCA04E #4ECC61
split-complementary
#4E7ACC #CC614E #B9CC4E
monochromatic
#24427C #315CAB #4E7ACC #7E9EDA #ADC1E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7ACC#FFFFFF#000000##000000
##4E7ACC1.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)
#5682CF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7acc;
/* rgb */ color: rgb(78, 122, 204);
/* oklch */ color: oklch(58.7% 0.135 261.8);
Tailwind
colors: {
  custom: {
    50: '#8aa0dc',
    500: '#4e7acc',
    950: '#000000',
  },
}
SCSS
$custom: #4e7acc;
$custom-light: #8aa0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7acc",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 219.048,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58706,
    "c": 0.13528,
    "h": 261.8
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#4E7ACC
secondary
#D5C3A1
accent
#AA49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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