#4B79D9#4B79D9

#4B79D9 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.155 H 263.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4B79D9
RGBrgb(75, 121, 217)
HSLhsl(221, 65%, 57%)
HSVhsv(221, 65%, 85%)
CMYKcmyk(65.4%, 44.2%, 0%, 14.9%)
CIE-LABlab(52.04, 14.93, -53.94)
CIE-LCHlch(52.04, 55.97, 285.47°)
OKLaboklab(59.15% -0.0184 -0.1541)
OKLCHoklch(59.15% 0.155 263.2)
XYZxyz(22.2590, 20.1782, 68.3539)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B79D9 #D9AB4B
analogous
#4BC0D9 #4B79D9 #644BD9
triadic
#4B79D9 #D94B79 #79D94B
tetradic
#4B79D9 #D94BC0 #D9AB4B #4BD964
square
#4B79D9 #D94BC0 #D9AB4B #4BD964
split-complementary
#4B79D9 #D9644B #C0D94B
monochromatic
#1E418C #2859BF #4B79D9 #7E9FE4 #B0C4EE

Accessibility & contrast

On white

4.17
#4B79D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4B79D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B79D9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B79D9#FFFFFF#000000##000000
##4B79D91.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4b79d9;
/* rgb */ color: rgb(75, 121, 217);
/* oklch */ color: oklch(59.2% 0.155 263.2);
Tailwind
colors: {
  custom: {
    50: '#8b9fe5',
    500: '#4b79d9',
    950: '#000000',
  },
}
SCSS
$custom: #4b79d9;
$custom-light: #8b9fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b79d9",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 220.563,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.15522,
    "h": 263.2
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#4B79D9
secondary
#DDCAA3
accent
#B240E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4B79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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