#4C79DB#4C79DB

#4C79DB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.158 H 263.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4C79DB
RGBrgb(76, 121, 219)
HSLhsl(221, 67%, 58%)
HSVhsv(221, 65%, 86%)
CMYKcmyk(65.3%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.20, 15.79, -54.81)
CIE-LCHlch(52.20, 57.04, 286.07°)
OKLaboklab(59.33% -0.0172 -0.1567)
OKLCHoklch(59.33% 0.158 263.7)
XYZxyz(22.5996, 20.3236, 69.7359)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C79DB #DBAE4C
analogous
#4CC0DB #4C79DB #664CDB
triadic
#4C79DB #DB4C79 #79DB4C
tetradic
#4C79DB #DB4CC0 #DBAE4C #4CDB66
square
#4C79DB #DB4CC0 #DBAE4C #4CDB66
split-complementary
#4C79DB #DB664C #C0DB4C
monochromatic
#1D4190 #2758C3 #4C79DB #7F9FE5 #B2C5EF

Accessibility & contrast

On white

4.15
#4C79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4C79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C79DB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C79DB#FFFFFF#000000##000000
##4C79DB1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c79db;
/* rgb */ color: rgb(76, 121, 219);
/* oklch */ color: oklch(59.3% 0.158 263.7);
Tailwind
colors: {
  custom: {
    50: '#8c9fe7',
    500: '#4c79db',
    950: '#000000',
  },
}
SCSS
$custom: #4c79db;
$custom-light: #8c9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c79db",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 221.119,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.1576,
    "h": 263.7
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#4C79DB
secondary
#DECCA5
accent
#B43EE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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