#4F77CB#4F77CB

#4F77CB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.1% C 0.137 H 263.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4F77CB
RGBrgb(79, 119, 203)
HSLhsl(221, 54%, 55%)
HSVhsv(221, 61%, 80%)
CMYKcmyk(61.1%, 41.4%, 0%, 20.4%)
CIE-LABlab(50.88, 12.05, -47.84)
CIE-LCHlch(50.88, 49.33, 284.13°)
OKLaboklab(58.05% -0.0155 -0.1361)
OKLCHoklch(58.05% 0.137 263.5)
XYZxyz(20.5970, 19.1659, 59.1023)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F77CB #CBA34F
analogous
#4FB5CB #4F77CB #654FCB
triadic
#4F77CB #CB4F77 #77CB4F
tetradic
#4F77CB #CB4FB5 #CBA34F #4FCB65
square
#4F77CB #CB4FB5 #CBA34F #4FCB65
split-complementary
#4F77CB #CB654F #B5CB4F
monochromatic
#24407B #3259AA #4F77CB #7E9CD9 #ADC0E7

Accessibility & contrast

On white

4.34
#4F77CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4F77CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F77CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F77CB#FFFFFF#000000##000000
##4F77CB1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCE
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f77cb;
/* rgb */ color: rgb(79, 119, 203);
/* oklch */ color: oklch(58.1% 0.137 263.5);
Tailwind
colors: {
  custom: {
    50: '#8b9ddb',
    500: '#4f77cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f77cb;
$custom-light: #8b9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f77cb",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 220.645,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.13703,
    "h": 263.5
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#4F77CB
secondary
#D5C4A1
accent
#AE4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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