#4F71F3#4F71F3

#4F71F3 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.198 H 268.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F71F3
RGBrgb(79, 113, 243)
HSLhsl(228, 87%, 63%)
HSVhsv(228, 67%, 95%)
CMYKcmyk(67.5%, 53.5%, 0%, 4.7%)
CIE-LABlab(51.77, 29.53, -68.95)
CIE-LCHlch(51.77, 75.01, 293.18°)
OKLaboklab(59.53% -0.0047 -0.1983)
OKLCHoklch(59.53% 0.198 268.6)
XYZxyz(25.3017, 19.9411, 87.2923)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71F3 #F3D14F
analogous
#4FC3F3 #4F71F3 #7F4FF3
triadic
#4F71F3 #F34F71 #71F34F
tetradic
#4F71F3 #F34FC3 #F3D14F #4FF37F
square
#4F71F3 #F34FC3 #F3D14F #4FF37F
split-complementary
#4F71F3 #F37F4F #C3F34F
monochromatic
#0D31BB #1643EF #4F71F3 #889FF7 #C2CDFB

Accessibility & contrast

On white

4.21
#4F71F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4F71F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71F3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71F3#FFFFFF#000000##000000
##4F71F31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0783F8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f71f3;
/* rgb */ color: rgb(79, 113, 243);
/* oklch */ color: oklch(59.5% 0.198 268.6);
Tailwind
colors: {
  custom: {
    50: '#9299f8',
    500: '#4f71f3',
    950: '#000000',
  },
}
SCSS
$custom: #4f71f3;
$custom-light: #9299f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71f3",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 227.561,
    "s": 87.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59526,
    "c": 0.19838,
    "h": 268.6
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#4F71F3
secondary
#ECE0B2
accent
#B502E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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