#4979CE#4979CE

#4979CE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.4% C 0.141 H 261.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4979CE
RGBrgb(73, 121, 206)
HSLhsl(218, 58%, 55%)
HSVhsv(218, 65%, 81%)
CMYKcmyk(64.6%, 41.3%, 0%, 19.2%)
CIE-LABlab(51.32, 10.76, -48.86)
CIE-LCHlch(51.32, 50.03, 282.42°)
OKLaboklab(58.37% -0.0221 -0.1392)
OKLCHoklch(58.37% 0.141 261)
XYZxyz(20.7217, 19.5455, 61.0612)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979CE #CE9E49
analogous
#49BCCE #4979CE #5C49CE
triadic
#4979CE #CE4979 #79CE49
tetradic
#4979CE #CE49BC #CE9E49 #49CE5C
square
#4979CE #CE49BC #CE9E49 #49CE5C
split-complementary
#4979CE #CE5C49 #BCCE49
monochromatic
#21427B #2E5BAC #4979CE #799DDB #A9C0E8

Accessibility & contrast

On white

4.28
#4979CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4979CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979CE#FFFFFF#000000##000000
##4979CE1.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)
#5281D1
Deuteranopia (green-blind)
#3E75CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4979ce;
/* rgb */ color: rgb(73, 121, 206);
/* oklch */ color: oklch(58.4% 0.141 261.0);
Tailwind
colors: {
  custom: {
    50: '#889fdd',
    500: '#4979ce',
    950: '#000000',
  },
}
SCSS
$custom: #4979ce;
$custom-light: #889fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4979ce",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 218.346,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.14099,
    "h": 261
  },
  "luminance": 0.19547
}

Semantic roles & 50–950 ramp

primary
#4979CE
secondary
#D5C19D
accent
#A947E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4979CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4979CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva