#4F71CB#4F71CB

#4F71CB is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.144 H 266.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4F71CB
RGBrgb(79, 113, 203)
HSLhsl(224, 54%, 55%)
HSVhsv(224, 61%, 80%)
CMYKcmyk(61.1%, 44.3%, 0%, 20.4%)
CIE-LABlab(49.23, 15.76, -50.47)
CIE-LCHlch(49.23, 52.87, 287.34°)
OKLaboklab(56.78% -0.0092 -0.1439)
OKLCHoklch(56.78% 0.144 266.3)
XYZxyz(19.9054, 17.7826, 58.8717)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71CB #CBA94F
analogous
#4FAFCB #4F71CB #6B4FCB
triadic
#4F71CB #CB4F71 #71CB4F
tetradic
#4F71CB #CB4FAF #CBA94F #4FCB6B
square
#4F71CB #CB4FAF #CBA94F #4FCB6B
split-complementary
#4F71CB #CB6B4F #AFCB4F
monochromatic
#243C7B #3253AA #4F71CB #7E97D9 #ADBDE7

Accessibility & contrast

On white

4.61
#4F71CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4F71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71CB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71CB#FFFFFF#000000##FFFFFF
##4F71CB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#3470C9
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f71cb;
/* rgb */ color: rgb(79, 113, 203);
/* oklch */ color: oklch(56.8% 0.144 266.3);
Tailwind
colors: {
  custom: {
    50: '#8b99db',
    500: '#4f71cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f71cb;
$custom-light: #8b99db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71cb",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 223.548,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.14425,
    "h": 266.3
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#4F71CB
secondary
#D5C7A1
accent
#B54ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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