#4E79DB#4E79DB

#4E79DB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.157 H 264.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E79DB
RGBrgb(78, 121, 219)
HSLhsl(222, 66%, 58%)
HSVhsv(222, 64%, 86%)
CMYKcmyk(64.4%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.29, 16.12, -54.65)
CIE-LCHlch(52.29, 56.98, 286.44°)
OKLaboklab(59.42% -0.0155 -0.1562)
OKLCHoklch(59.42% 0.157 264.3)
XYZxyz(22.7610, 20.4068, 69.7435)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79DB #DBB04E
analogous
#4EBFDB #4E79DB #694EDB
triadic
#4E79DB #DB4E79 #79DB4E
tetradic
#4E79DB #DB4EBF #DBB04E #4EDB69
square
#4E79DB #DB4EBF #DBB04E #4EDB69
split-complementary
#4E79DB #DB694E #BFDB4E
monochromatic
#1E4191 #2857C4 #4E79DB #81A0E5 #B4C6F0

Accessibility & contrast

On white

4.13
#4E79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4E79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79DB#FFFFFF#000000##000000
##4E79DB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e79db;
/* rgb */ color: rgb(78, 121, 219);
/* oklch */ color: oklch(59.4% 0.157 264.3);
Tailwind
colors: {
  custom: {
    50: '#8d9fe7',
    500: '#4e79db',
    950: '#000000',
  },
}
SCSS
$custom: #4e79db;
$custom-light: #8d9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79db",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 221.702,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.15694,
    "h": 264.3
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#4E79DB
secondary
#DECDA6
accent
#B53FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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