#4F71D9#4F71D9

#4F71D9 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.164 H 267.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F71D9
RGBrgb(79, 113, 217)
HSLhsl(225, 64%, 58%)
HSVhsv(225, 64%, 85%)
CMYKcmyk(63.6%, 47.9%, 0%, 14.9%)
CIE-LABlab(50.07, 20.56, -57.08)
CIE-LCHlch(50.07, 60.67, 289.81°)
OKLaboklab(57.7% -0.0072 -0.1634)
OKLCHoklch(57.7% 0.164 267.5)
XYZxyz(21.6497, 18.4803, 68.0583)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71D9 #D9B74F
analogous
#4FB6D9 #4F71D9 #724FD9
triadic
#4F71D9 #D94F71 #71D94F
tetradic
#4F71D9 #D94FB6 #D9B74F #4FD972
square
#4F71D9 #D94FB6 #D9B74F #4FD972
split-complementary
#4F71D9 #D9724F #B6D94F
monochromatic
#1F3A8F #2A4FC1 #4F71D9 #819AE4 #B4C2EF

Accessibility & contrast

On white

4.47
#4F71D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4F71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71D9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71D9#FFFFFF#000000##000000
##4F71D91.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDD
Deuteranopia (green-blind)
#1E71D7
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f71d9;
/* rgb */ color: rgb(79, 113, 217);
/* oklch */ color: oklch(57.7% 0.164 267.5);
Tailwind
colors: {
  custom: {
    50: '#8d99e5',
    500: '#4f71d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f71d9;
$custom-light: #8d99e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71d9",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 225.217,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.577,
    "c": 0.16356,
    "h": 267.5
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#4F71D9
secondary
#DDD0A6
accent
#BE40E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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