#4E79DC#4E79DC

#4E79DC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.158 H 264.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E79DC
RGBrgb(78, 121, 220)
HSLhsl(222, 67%, 58%)
HSVhsv(222, 65%, 86%)
CMYKcmyk(64.5%, 45%, 0%, 13.7%)
CIE-LABlab(52.35, 16.47, -55.12)
CIE-LCHlch(52.35, 57.53, 286.63°)
OKLaboklab(59.49% -0.0153 -0.1575)
OKLCHoklch(59.49% 0.158 264.4)
XYZxyz(22.8930, 20.4596, 70.4389)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79DC #DCB14E
analogous
#4EC0DC #4E79DC #6A4EDC
triadic
#4E79DC #DC4E79 #79DC4E
tetradic
#4E79DC #DC4EC0 #DCB14E #4EDC6A
square
#4E79DC #DC4EC0 #DCB14E #4EDC6A
split-complementary
#4E79DC #DC6A4E #C0DC4E
monochromatic
#1D4193 #2757C6 #4E79DC #81A0E6 #B4C6F0

Accessibility & contrast

On white

4.12
#4E79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79DC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79DC#FFFFFF#000000##000000
##4E79DC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#3077DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e79dc;
/* rgb */ color: rgb(78, 121, 220);
/* oklch */ color: oklch(59.5% 0.158 264.4);
Tailwind
colors: {
  custom: {
    50: '#8d9fe7',
    500: '#4e79dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e79dc;
$custom-light: #8d9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79dc",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 221.831,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.15829,
    "h": 264.4
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#4E79DC
secondary
#DFCEA7
accent
#B63EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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