#4E7ACA#4E7ACA

#4E7ACA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.133 H 261.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E7ACA
RGBrgb(78, 122, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 61%, 79%)
CMYKcmyk(61.4%, 39.6%, 0%, 20.8%)
CIE-LABlab(51.61, 9.68, -46.11)
CIE-LCHlch(51.61, 47.11, 281.85°)
OKLaboklab(58.59% -0.0197 -0.1311)
OKLCHoklch(58.59% 0.133 261.4)
XYZxyz(20.7584, 19.8012, 58.5937)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ACA #CA9E4E
analogous
#4EB8CA #4E7ACA #604ECA
triadic
#4E7ACA #CA4E7A #7ACA4E
tetradic
#4E7ACA #CA4EB8 #CA9E4E #4ECA60
square
#4E7ACA #CA4EB8 #CA9E4E #4ECA60
split-complementary
#4E7ACA #CA604E #B8CA4E
monochromatic
#244279 #325CA8 #4E7ACA #7D9DD8 #ACC1E6

Accessibility & contrast

On white

4.23
#4E7ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4E7ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ACA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ACA#FFFFFF#000000##000000
##4E7ACA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7aca;
/* rgb */ color: rgb(78, 122, 202);
/* oklch */ color: oklch(58.6% 0.133 261.4);
Tailwind
colors: {
  custom: {
    50: '#8aa0da',
    500: '#4e7aca',
    950: '#000000',
  },
}
SCSS
$custom: #4e7aca;
$custom-light: #8aa0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7aca",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 218.71,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58587,
    "c": 0.13253,
    "h": 261.4
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#4E7ACA
secondary
#D4C1A0
accent
#A94BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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