#4871F7#4871F7

#4871F7 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.5% C 0.206 H 267.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4871F7
RGBrgb(72, 113, 247)
HSLhsl(226, 92%, 63%)
HSVhsv(226, 71%, 97%)
CMYKcmyk(70.9%, 54.3%, 0%, 3.1%)
CIE-LABlab(51.72, 29.97, -71.26)
CIE-LCHlch(51.72, 77.31, 292.81°)
OKLaboklab(59.49% -0.0106 -0.2053)
OKLCHoklch(59.49% 0.206 267)
XYZxyz(25.3603, 19.9007, 90.4823)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871F7 #F7CE48
analogous
#48C8F7 #4871F7 #7748F7
triadic
#4871F7 #F74871 #71F748
tetradic
#4871F7 #F748C8 #F7CE48 #48F777
square
#4871F7 #F748C8 #F7CE48 #48F777
split-complementary
#4871F7 #F77748 #C8F748
monochromatic
#0832BC #0D43F4 #4871F7 #839EFA #BDCCFC

Accessibility & contrast

On white

4.22
#4871F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4871F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4871F7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871F7#FFFFFF#000000##000000
##4871F71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#0074F4
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4871f7;
/* rgb */ color: rgb(72, 113, 247);
/* oklch */ color: oklch(59.5% 0.206 267.0);
Tailwind
colors: {
  custom: {
    50: '#9099fb',
    500: '#4871f7',
    950: '#000000',
  },
}
SCSS
$custom: #4871f7;
$custom-light: #9099fb;
$custom-dark: #000000;
JSON
{
  "hex": "#4871f7",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 225.943,
    "s": 91.623,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.20554,
    "h": 267
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#4871F7
secondary
#EDDEAE
accent
#B000E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4871F7

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

Preview Lab → · Contrast checker → · Palette generator →

#4871F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva