#4F71CF#4F71CF

#4F71CF is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.150 H 266.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4F71CF
RGBrgb(79, 113, 207)
HSLhsl(224, 57%, 56%)
HSVhsv(224, 62%, 81%)
CMYKcmyk(61.8%, 45.4%, 0%, 18.8%)
CIE-LABlab(49.47, 17.12, -52.37)
CIE-LCHlch(49.47, 55.10, 288.10°)
OKLaboklab(57.04% -0.0086 -0.1495)
OKLCHoklch(57.04% 0.15 266.7)
XYZxyz(20.3882, 17.9757, 61.4146)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71CF #CFAD4F
analogous
#4FB1CF #4F71CF #6D4FCF
triadic
#4F71CF #CF4F71 #71CF4F
tetradic
#4F71CF #CF4FB1 #CFAD4F #4FCF6D
square
#4F71CF #CF4FB1 #CFAD4F #4FCF6D
split-complementary
#4F71CF #CF6D4F #B1CF4F
monochromatic
#233C81 #3052B1 #4F71CF #7F98DC #AFBFE9

Accessibility & contrast

On white

4.57
#4F71CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4F71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71CF#FFFFFF#000000##000000
##4F71CF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#2F70CD
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f71cf;
/* rgb */ color: rgb(79, 113, 207);
/* oklch */ color: oklch(57.0% 0.150 266.7);
Tailwind
colors: {
  custom: {
    50: '#8c99de',
    500: '#4f71cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f71cf;
$custom-light: #8c99de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71cf",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 224.063,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.1498,
    "h": 266.7
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#4F71CF
secondary
#D7C9A2
accent
#B847E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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