#4F71DA#4F71DA

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

Color values

HEX#4F71DA
RGBrgb(79, 113, 218)
HSLhsl(225, 65%, 58%)
HSVhsv(225, 64%, 85%)
CMYKcmyk(63.8%, 48.2%, 0%, 14.5%)
CIE-LABlab(50.14, 20.90, -57.55)
CIE-LCHlch(50.14, 61.23, 289.96°)
OKLaboklab(57.77% -0.0071 -0.1648)
OKLCHoklch(57.77% 0.165 267.5)
XYZxyz(21.7801, 18.5325, 68.7454)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71DA #DAB84F
analogous
#4FB6DA #4F71DA #724FDA
triadic
#4F71DA #DA4F71 #71DA4F
tetradic
#4F71DA #DA4FB6 #DAB84F #4FDA72
square
#4F71DA #DA4FB6 #DAB84F #4FDA72
split-complementary
#4F71DA #DA724F #B6DA4F
monochromatic
#1E3A90 #294FC3 #4F71DA #829AE5 #B4C3EF

Accessibility & contrast

On white

4.46
#4F71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4F71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71DA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71DA#FFFFFF#000000##000000
##4F71DA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDE
Deuteranopia (green-blind)
#1B71D8
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f71da;
/* rgb */ color: rgb(79, 113, 218);
/* oklch */ color: oklch(57.8% 0.165 267.5);
Tailwind
colors: {
  custom: {
    50: '#8e99e6',
    500: '#4f71da',
    950: '#000000',
  },
}
SCSS
$custom: #4f71da;
$custom-light: #8e99e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71da",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 225.324,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.16492,
    "h": 267.5
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#4F71DA
secondary
#DED1A7
accent
#BF40E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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