#4874FF#4874FF

#4874FF is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 60.7% C 0.212 H 266.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4874FF
RGBrgb(72, 116, 255)
HSLhsl(226, 100%, 64%)
HSVhsv(226, 72%, 100%)
CMYKcmyk(71.8%, 54.5%, 0%, 0%)
CIE-LABlab(53.04, 30.93, -73.56)
CIE-LCHlch(53.04, 79.80, 292.80°)
OKLaboklab(60.66% -0.0124 -0.212)
OKLCHoklch(60.66% 0.212 266.6)
XYZxyz(26.9616, 21.0856, 97.2374)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874FF #FFD348
analogous
#48CFFF #4874FF #7848FF
triadic
#4874FF #FF4874 #74FF48
tetradic
#4874FF #FF48CF #FFD348 #48FF78
square
#4874FF #FF48CF #FFD348 #48FF78
split-complementary
#4874FF #FF7848 #CFFF48
monochromatic
#0031CD #0B46FF #4874FF #85A2FF #C2D1FF

Accessibility & contrast

On white

4.02
#4874FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4874FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874FF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874FF#FFFFFF#000000##000000
##4874FF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#0096AE
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4874ff;
/* rgb */ color: rgb(72, 116, 255);
/* oklch */ color: oklch(60.7% 0.212 266.6);
Tailwind
colors: {
  custom: {
    50: '#919bff',
    500: '#4874ff',
    950: '#000000',
  },
}
SCSS
$custom: #4874ff;
$custom-light: #919bff;
$custom-dark: #000000;
JSON
{
  "hex": "#4874ff",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 225.574,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.21233,
    "h": 266.6
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#4874FF
secondary
#F1E2B1
accent
#AE00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E18
muted
#7E7E86

Preview Lab

Preview with #4874FF

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

Preview Lab → · Contrast checker → · Palette generator →

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