#4871FF#4871FF

#4871FF is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.1% C 0.216 H 267.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4871FF
RGBrgb(72, 113, 255)
HSLhsl(227, 100%, 64%)
HSVhsv(227, 72%, 100%)
CMYKcmyk(71.8%, 55.7%, 0%, 0%)
CIE-LABlab(52.29, 32.78, -74.78)
CIE-LCHlch(52.29, 81.65, 293.67°)
OKLaboklab(60.1% -0.0102 -0.2156)
OKLCHoklch(60.1% 0.216 267.3)
XYZxyz(26.6213, 20.4052, 97.1239)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871FF #FFD648
analogous
#48CDFF #4871FF #7B48FF
triadic
#4871FF #FF4871 #71FF48
tetradic
#4871FF #FF48CD #FFD648 #48FF7B
square
#4871FF #FF48CD #FFD648 #48FF7B
split-complementary
#4871FF #FF7B48 #CDFF48
monochromatic
#002ECD #0B42FF #4871FF #85A0FF #C2D0FF

Accessibility & contrast

On white

4.13
#4871FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4871FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4871FF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871FF#FFFFFF#000000##000000
##4871FF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#0094AD
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4871ff;
/* rgb */ color: rgb(72, 113, 255);
/* oklch */ color: oklch(60.1% 0.216 267.3);
Tailwind
colors: {
  custom: {
    50: '#9199ff',
    500: '#4871ff',
    950: '#000000',
  },
}
SCSS
$custom: #4871ff;
$custom-light: #9199ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4871ff",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 226.557,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.21584,
    "h": 267.3
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#4871FF
secondary
#F1E3B1
accent
#B200E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D18
muted
#7E7E86

Preview Lab

Preview with #4871FF

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

Preview Lab → · Contrast checker → · Palette generator →

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