#4F71CD#4F71CD

#4F71CD is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.9% C 0.147 H 266.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4F71CD
RGBrgb(79, 113, 205)
HSLhsl(224, 56%, 56%)
HSVhsv(224, 61%, 80%)
CMYKcmyk(61.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(49.35, 16.44, -51.42)
CIE-LCHlch(49.35, 53.99, 287.73°)
OKLaboklab(56.91% -0.0089 -0.1468)
OKLCHoklch(56.91% 0.147 266.5)
XYZxyz(20.1453, 17.8786, 60.1351)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71CD #CDAB4F
analogous
#4FB0CD #4F71CD #6C4FCD
triadic
#4F71CD #CD4F71 #71CD4F
tetradic
#4F71CD #CD4FB0 #CDAB4F #4FCD6C
square
#4F71CD #CD4FB0 #CDAB4F #4FCD6C
split-complementary
#4F71CD #CD6C4F #B0CD4F
monochromatic
#243C7E #3153AE #4F71CD #7F97DB #AEBEE8

Accessibility & contrast

On white

4.59
#4F71CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4F71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71CD#FFFFFF#000000##FFFFFF
##4F71CD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f71cd;
/* rgb */ color: rgb(79, 113, 205);
/* oklch */ color: oklch(56.9% 0.147 266.5);
Tailwind
colors: {
  custom: {
    50: '#8b99dd',
    500: '#4f71cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f71cd;
$custom-light: #8b99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71cd",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 223.81,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.14703,
    "h": 266.5
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#4F71CD
secondary
#D6C8A2
accent
#B649DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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