#4B79C8#4B79C8

#4B79C8 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.132 H 260.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4B79C8
RGBrgb(75, 121, 200)
HSLhsl(218, 53%, 54%)
HSVhsv(218, 63%, 78%)
CMYKcmyk(62.5%, 39.5%, 0%, 21.6%)
CIE-LABlab(51.08, 9.05, -45.82)
CIE-LCHlch(51.08, 46.70, 281.17°)
OKLaboklab(58.1% -0.0217 -0.1303)
OKLCHoklch(58.1% 0.132 260.5)
XYZxyz(20.1607, 19.3389, 57.3027)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B79C8 #C89A4B
analogous
#4BB8C8 #4B79C8 #5C4BC8
triadic
#4B79C8 #C84B79 #79C84B
tetradic
#4B79C8 #C84BB8 #C89A4B #4BC85C
square
#4B79C8 #C84BB8 #C89A4B #4BC85C
split-complementary
#4B79C8 #C85C4B #B8C84B
monochromatic
#244275 #325CA4 #4B79C8 #7A9CD6 #A9BFE5

Accessibility & contrast

On white

4.31
#4B79C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4B79C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B79C8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B79C8#FFFFFF#000000##000000
##4B79C81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#4574C6
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4b79c8;
/* rgb */ color: rgb(75, 121, 200);
/* oklch */ color: oklch(58.1% 0.132 260.5);
Tailwind
colors: {
  custom: {
    50: '#889fd9',
    500: '#4b79c8',
    950: '#000000',
  },
}
SCSS
$custom: #4b79c8;
$custom-light: #889fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b79c8",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 217.92,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.13207,
    "h": 260.5
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#4B79C8
secondary
#D2BE9D
accent
#A74BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4B79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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