#4B79DB#4B79DB

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

Color values

HEX#4B79DB
RGBrgb(75, 121, 219)
HSLhsl(221, 67%, 58%)
HSVhsv(221, 66%, 86%)
CMYKcmyk(65.8%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.16, 15.62, -54.88)
CIE-LCHlch(52.16, 57.06, 285.89°)
OKLaboklab(59.28% -0.0181 -0.1569)
OKLCHoklch(59.28% 0.158 263.4)
XYZxyz(22.5207, 20.2829, 69.7322)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B79DB #DBAD4B
analogous
#4BC1DB #4B79DB #654BDB
triadic
#4B79DB #DB4B79 #79DB4B
tetradic
#4B79DB #DB4BC1 #DBAD4B #4BDB65
square
#4B79DB #DB4BC1 #DBAD4B #4BDB65
split-complementary
#4B79DB #DB654B #C1DB4B
monochromatic
#1D418F #2758C2 #4B79DB #7E9FE5 #B1C5EF

Accessibility & contrast

On white

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

On black

5.06
#4B79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B79DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B79DB#FFFFFF#000000##000000
##4B79DB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4b79db;
/* rgb */ color: rgb(75, 121, 219);
/* oklch */ color: oklch(59.3% 0.158 263.4);
Tailwind
colors: {
  custom: {
    50: '#8c9fe7',
    500: '#4b79db',
    950: '#000000',
  },
}
SCSS
$custom: #4b79db;
$custom-light: #8c9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b79db",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 220.833,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.15794,
    "h": 263.4
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#4B79DB
secondary
#DECBA4
accent
#B33EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4B79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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