#4F71CA#4F71CA

#4F71CA is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.143 H 266.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4F71CA
RGBrgb(79, 113, 202)
HSLhsl(223, 54%, 55%)
HSVhsv(223, 61%, 79%)
CMYKcmyk(60.9%, 44.1%, 0%, 20.8%)
CIE-LABlab(49.17, 15.41, -49.99)
CIE-LCHlch(49.17, 52.31, 287.14°)
OKLaboklab(56.72% -0.0094 -0.1425)
OKLCHoklch(56.72% 0.143 266.2)
XYZxyz(19.7866, 17.7351, 58.2462)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71CA #CAA84F
analogous
#4FAECA #4F71CA #6B4FCA
triadic
#4F71CA #CA4F71 #71CA4F
tetradic
#4F71CA #CA4FAE #CAA84F #4FCA6B
square
#4F71CA #CA4FAE #CAA84F #4FCA6B
split-complementary
#4F71CA #CA6B4F #AECA4F
monochromatic
#253C7A #3354A9 #4F71CA #7E97D8 #ADBDE6

Accessibility & contrast

On white

4.62
#4F71CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4F71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71CA#FFFFFF#000000##FFFFFF
##4F71CA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#3570C8
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f71ca;
/* rgb */ color: rgb(79, 113, 202);
/* oklch */ color: oklch(56.7% 0.143 266.2);
Tailwind
colors: {
  custom: {
    50: '#8b99db',
    500: '#4f71ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f71ca;
$custom-light: #8b99db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71ca",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 223.415,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.14285,
    "h": 266.2
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#4F71CA
secondary
#D4C6A1
accent
#B54BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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