#4E79DD#4E79DD

#4E79DD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.160 H 264.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E79DD
RGBrgb(78, 121, 221)
HSLhsl(222, 68%, 59%)
HSVhsv(222, 65%, 87%)
CMYKcmyk(64.7%, 45.2%, 0%, 13.3%)
CIE-LABlab(52.41, 16.82, -55.59)
CIE-LCHlch(52.41, 58.08, 286.83°)
OKLaboklab(59.55% -0.0152 -0.1589)
OKLCHoklch(59.55% 0.16 264.5)
XYZxyz(23.0259, 20.5127, 71.1385)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79DD #DDB24E
analogous
#4EC0DD #4E79DD #6A4EDD
triadic
#4E79DD #DD4E79 #79DD4E
tetradic
#4E79DD #DD4EC0 #DDB24E #4EDD6A
square
#4E79DD #DD4EC0 #DDB24E #4EDD6A
split-complementary
#4E79DD #DD6A4E #C0DD4E
monochromatic
#1C4094 #2657C7 #4E79DD #81A0E7 #B5C7F1

Accessibility & contrast

On white

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

On black

5.10
#4E79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79DD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79DD#FFFFFF#000000##000000
##4E79DD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#2E77DB
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e79dd;
/* rgb */ color: rgb(78, 121, 221);
/* oklch */ color: oklch(59.6% 0.160 264.5);
Tailwind
colors: {
  custom: {
    50: '#8d9fe8',
    500: '#4e79dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e79dd;
$custom-light: #8d9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79dd",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 221.958,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.15965,
    "h": 264.5
  },
  "luminance": 0.20515
}

Semantic roles & 50–950 ramp

primary
#4E79DD
secondary
#E0CFA7
accent
#B63DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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