#4F71D3#4F71D3

#4F71D3 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.3% C 0.155 H 267.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4F71D3
RGBrgb(79, 113, 211)
HSLhsl(225, 60%, 57%)
HSVhsv(225, 63%, 83%)
CMYKcmyk(62.6%, 46.4%, 0%, 17.3%)
CIE-LABlab(49.71, 18.49, -54.27)
CIE-LCHlch(49.71, 57.33, 288.82°)
OKLaboklab(57.3% -0.008 -0.1551)
OKLCHoklch(57.3% 0.155 267.1)
XYZxyz(20.8834, 18.1738, 64.0228)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71D3 #D3B14F
analogous
#4FB3D3 #4F71D3 #6F4FD3
triadic
#4F71D3 #D34F71 #71D34F
tetradic
#4F71D3 #D34FB3 #D3B14F #4FD36F
square
#4F71D3 #D34FB3 #D3B14F #4FD36F
split-complementary
#4F71D3 #D36F4F #B3D34F
monochromatic
#223B86 #2E51B7 #4F71D3 #8099DF #B1C0EB

Accessibility & contrast

On white

4.53
#4F71D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4F71D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71D3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71D3#FFFFFF#000000##000000
##4F71D31.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#417DD7
Deuteranopia (green-blind)
#2971D1
Tritanopia (blue-blind)
#008798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f71d3;
/* rgb */ color: rgb(79, 113, 211);
/* oklch */ color: oklch(57.3% 0.155 267.1);
Tailwind
colors: {
  custom: {
    50: '#8c99e1',
    500: '#4f71d3',
    950: '#000000',
  },
}
SCSS
$custom: #4f71d3;
$custom-light: #8c99e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71d3",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 224.545,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.15533,
    "h": 267.1
  },
  "luminance": 0.18176
}

Semantic roles & 50–950 ramp

primary
#4F71D3
secondary
#DACCA4
accent
#BA45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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