#4D79BF#4D79BF

#4D79BF is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.7% C 0.119 H 259.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4D79BF
RGBrgb(77, 121, 191)
HSLhsl(217, 47%, 53%)
HSVhsv(217, 60%, 75%)
CMYKcmyk(59.7%, 36.6%, 0%, 25.1%)
CIE-LABlab(50.70, 6.37, -41.26)
CIE-LCHlch(50.70, 41.75, 278.78°)
OKLaboklab(57.68% -0.022 -0.1169)
OKLCHoklch(57.68% 0.119 259.3)
XYZxyz(19.2986, 19.0124, 51.9329)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79BF #BF934D
analogous
#4DB2BF #4D79BF #5A4DBF
triadic
#4D79BF #BF4D79 #79BF4D
tetradic
#4D79BF #BF4DB2 #BF934D #4DBF5A
square
#4D79BF #BF4DB2 #BF934D #4DBF5A
split-complementary
#4D79BF #BF5A4D #B2BF4D
monochromatic
#27416B #375C98 #4D79BF #7A9BCF #A7BDDF

Accessibility & contrast

On white

4.37
#4D79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4D79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79BF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79BF#FFFFFF#000000##000000
##4D79BF1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d79bf;
/* rgb */ color: rgb(77, 121, 191);
/* oklch */ color: oklch(57.7% 0.119 259.3);
Tailwind
colors: {
  custom: {
    50: '#889fd2',
    500: '#4d79bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d79bf;
$custom-light: #889fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79bf",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 216.842,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.11898,
    "h": 259.3
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#4D79BF
secondary
#CDBA9B
accent
#A351D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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