#4E79CA#4E79CA

#4E79CA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.134 H 262.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E79CA
RGBrgb(78, 121, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 61%, 79%)
CMYKcmyk(61.4%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.33, 10.29, -46.55)
CIE-LCHlch(51.33, 47.67, 282.46°)
OKLaboklab(58.37% -0.0187 -0.1324)
OKLCHoklch(58.37% 0.134 262)
XYZxyz(20.6362, 19.5569, 58.5530)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79CA #CA9F4E
analogous
#4EB7CA #4E79CA #614ECA
triadic
#4E79CA #CA4E79 #79CA4E
tetradic
#4E79CA #CA4EB7 #CA9F4E #4ECA61
square
#4E79CA #CA4EB7 #CA9F4E #4ECA61
split-complementary
#4E79CA #CA614E #B7CA4E
monochromatic
#244279 #325BA8 #4E79CA #7D9DD8 #ACC0E6

Accessibility & contrast

On white

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

On black

4.91
#4E79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79CA#FFFFFF#000000##000000
##4E79CA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e79ca;
/* rgb */ color: rgb(78, 121, 202);
/* oklch */ color: oklch(58.4% 0.134 262.0);
Tailwind
colors: {
  custom: {
    50: '#8a9fda',
    500: '#4e79ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e79ca;
$custom-light: #8a9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79ca",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 219.194,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.13369,
    "h": 262
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#4E79CA
secondary
#D4C2A0
accent
#AA4BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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