#4872FF#4872FF

#4872FF is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 60.3% C 0.215 H 267.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4872FF
RGBrgb(72, 114, 255)
HSLhsl(226, 100%, 64%)
HSVhsv(226, 72%, 100%)
CMYKcmyk(71.8%, 55.3%, 0%, 0%)
CIE-LABlab(52.54, 32.16, -74.37)
CIE-LCHlch(52.54, 81.03, 293.38°)
OKLaboklab(60.28% -0.011 -0.2144)
OKLCHoklch(60.28% 0.215 267.1)
XYZxyz(26.7335, 20.6295, 97.1613)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872FF #FFD548
analogous
#48CDFF #4872FF #7A48FF
triadic
#4872FF #FF4872 #72FF48
tetradic
#4872FF #FF48CD #FFD548 #48FF7A
square
#4872FF #FF48CD #FFD548 #48FF7A
split-complementary
#4872FF #FF7A48 #CDFF48
monochromatic
#002FCD #0B43FF #4872FF #85A1FF #C2D0FF

Accessibility & contrast

On white

4.10
#4872FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4872FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872FF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872FF#FFFFFF#000000##000000
##4872FF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4872ff;
/* rgb */ color: rgb(72, 114, 255);
/* oklch */ color: oklch(60.3% 0.215 267.1);
Tailwind
colors: {
  custom: {
    50: '#919aff',
    500: '#4872ff',
    950: '#000000',
  },
}
SCSS
$custom: #4872ff;
$custom-light: #919aff;
$custom-dark: #000000;
JSON
{
  "hex": "#4872ff",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 226.23,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.21467,
    "h": 267.1
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#4872FF
secondary
#F1E3B1
accent
#B100E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E18
muted
#7E7E86

Preview Lab

Preview with #4872FF

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

Preview Lab → · Contrast checker → · Palette generator →

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