#4B79BA#4B79BA

#4B79BA is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.3% C 0.113 H 257.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4B79BA
RGBrgb(75, 121, 186)
HSLhsl(215, 45%, 51%)
HSVhsv(215, 60%, 73%)
CMYKcmyk(59.7%, 34.9%, 0%, 27.1%)
CIE-LABlab(50.35, 4.29, -38.95)
CIE-LCHlch(50.35, 39.18, 276.28°)
OKLaboklab(57.3% -0.025 -0.1102)
OKLCHoklch(57.3% 0.113 257.2)
XYZxyz(18.5988, 18.7141, 49.0769)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B79BA #BA8C4B
analogous
#4BB0BA #4B79BA #544BBA
triadic
#4B79BA #BA4B79 #79BA4B
tetradic
#4B79BA #BA4BB0 #BA8C4B #4BBA54
square
#4B79BA #BA4BB0 #BA8C4B #4BBA54
split-complementary
#4B79BA #BA544B #B0BA4B
monochromatic
#264064 #375C90 #4B79BA #779ACB #A3BBDC

Accessibility & contrast

On white

4.43
#4B79BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4B79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B79BA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B79BA#FFFFFF#000000##000000
##4B79BA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b79ba;
/* rgb */ color: rgb(75, 121, 186);
/* oklch */ color: oklch(57.3% 0.113 257.2);
Tailwind
colors: {
  custom: {
    50: '#869fcf',
    500: '#4b79ba',
    950: '#000000',
  },
}
SCSS
$custom: #4b79ba;
$custom-light: #869fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b79ba",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 215.135,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.11301,
    "h": 257.2
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#4B79BA
secondary
#C9B598
accent
#9F54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4B79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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