#4D79BE#4D79BE

#4D79BE is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.6% C 0.118 H 259.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4D79BE
RGBrgb(77, 121, 190)
HSLhsl(217, 47%, 52%)
HSVhsv(217, 59%, 75%)
CMYKcmyk(59.5%, 36.3%, 0%, 25.5%)
CIE-LABlab(50.65, 6.03, -40.77)
CIE-LCHlch(50.65, 41.21, 278.42°)
OKLaboklab(57.62% -0.0223 -0.1155)
OKLCHoklch(57.62% 0.118 259.1)
XYZxyz(19.1889, 18.9686, 51.3553)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79BE #BE924D
analogous
#4DB2BE #4D79BE #594DBE
triadic
#4D79BE #BE4D79 #79BE4D
tetradic
#4D79BE #BE4DB2 #BE924D #4DBE59
square
#4D79BE #BE4DB2 #BE924D #4DBE59
split-complementary
#4D79BE #BE594D #B2BE4D
monochromatic
#27416A #375C97 #4D79BE #7A9BCE #A7BCDF

Accessibility & contrast

On white

4.38
#4D79BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4D79BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79BE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79BE#FFFFFF#000000##000000
##4D79BE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC1
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d79be;
/* rgb */ color: rgb(77, 121, 190);
/* oklch */ color: oklch(57.6% 0.118 259.1);
Tailwind
colors: {
  custom: {
    50: '#889fd2',
    500: '#4d79be',
    950: '#000000',
  },
}
SCSS
$custom: #4d79be;
$custom-light: #889fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79be",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 190
  },
  "hsl": {
    "h": 216.637,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.11761,
    "h": 259.1
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#4D79BE
secondary
#CCB99B
accent
#A352D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D79BE

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

Preview Lab → · Contrast checker → · Palette generator →

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