#4C79DF#4C79DF

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

Color values

HEX#4C79DF
RGBrgb(76, 121, 223)
HSLhsl(222, 70%, 59%)
HSVhsv(222, 66%, 87%)
CMYKcmyk(65.9%, 45.7%, 0%, 12.5%)
CIE-LABlab(52.44, 17.18, -56.68)
CIE-LCHlch(52.44, 59.23, 286.86°)
OKLaboklab(59.59% -0.0166 -0.1622)
OKLCHoklch(59.59% 0.163 264.2)
XYZxyz(23.1325, 20.5367, 72.5426)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79DF #DFB24C
analogous
#4CC2DF #4C79DF #684CDF
triadic
#4C79DF #DF4C79 #79DF4C
tetradic
#4C79DF #DF4CC2 #DFB24C #4CDF68
square
#4C79DF #DF4CC2 #DFB24C #4CDF68
split-complementary
#4C79DF #DF684C #C2DF4C
monochromatic
#1B4096 #2457CA #4C79DF #80A0E8 #B4C7F2

Accessibility & contrast

On white

4.11
#4C79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4C79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79DF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79DF#FFFFFF#000000##000000
##4C79DF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#2A77DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c79df;
/* rgb */ color: rgb(76, 121, 223);
/* oklch */ color: oklch(59.6% 0.163 264.2);
Tailwind
colors: {
  custom: {
    50: '#8d9fe9',
    500: '#4c79df',
    950: '#000000',
  },
}
SCSS
$custom: #4c79df;
$custom-light: #8d9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79df",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 221.633,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.16301,
    "h": 264.2
  },
  "luminance": 0.20539
}

Semantic roles & 50–950 ramp

primary
#4C79DF
secondary
#E0CFA6
accent
#B63BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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