#4E79C9#4E79C9

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

Color values

HEX#4E79C9
RGBrgb(78, 121, 201)
HSLhsl(219, 53%, 55%)
HSVhsv(219, 61%, 79%)
CMYKcmyk(61.2%, 39.8%, 0%, 21.2%)
CIE-LABlab(51.28, 9.95, -46.07)
CIE-LCHlch(51.28, 47.13, 282.19°)
OKLaboklab(58.31% -0.0189 -0.131)
OKLCHoklch(58.31% 0.132 261.8)
XYZxyz(20.5182, 19.5097, 57.9315)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C9 #C99E4E
analogous
#4EB7C9 #4E79C9 #604EC9
triadic
#4E79C9 #C94E79 #79C94E
tetradic
#4E79C9 #C94EB7 #C99E4E #4EC960
square
#4E79C9 #C94EB7 #C99E4E #4EC960
split-complementary
#4E79C9 #C9604E #B7C94E
monochromatic
#254278 #335BA7 #4E79C9 #7D9DD7 #ACC0E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E79C9#FFFFFF#000000##000000
##4E79C91.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)
#5680CC
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e79c9;
/* rgb */ color: rgb(78, 121, 201);
/* oklch */ color: oklch(58.3% 0.132 261.8);
Tailwind
colors: {
  custom: {
    50: '#8a9fda',
    500: '#4e79c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c9;
$custom-light: #8a9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c9",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 201
  },
  "hsl": {
    "h": 219.024,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.13231,
    "h": 261.8
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#4E79C9
secondary
#D3C19F
accent
#AA4BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4E79C9

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

Preview Lab → · Contrast checker → · Palette generator →

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