#4F52FF#4F52FF

#4F52FF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.2% C 0.249 H 273.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F52FF
RGBrgb(79, 82, 255)
HSLhsl(239, 100%, 65%)
HSVhsv(239, 69%, 100%)
CMYKcmyk(69%, 67.8%, 0%, 0%)
CIE-LABlab(45.52, 52.12, -85.84)
CIE-LCHlch(45.52, 100.42, 301.26°)
OKLaboklab(55.2% 0.0169 -0.2481)
OKLCHoklch(55.2% 0.249 273.9)
XYZxyz(24.2857, 14.9145, 96.1873)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52FF #FFFC4F
analogous
#4FAAFF #4F52FF #A44FFF
triadic
#4F52FF #FF4F52 #52FF4F
tetradic
#4F52FF #FF4FAA #FFFC4F #4FFFA4
square
#4F52FF #FF4FAA #FFFC4F #4FFFA4
split-complementary
#4F52FF #FFA44F #AAFF4F
monochromatic
#0004D4 #1216FF #4F52FF #8C8EFF #C9CAFF

Accessibility & contrast

On white

5.27
#4F52FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4F52FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52FF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52FF#FFFFFF#000000##FFFFFF
##4F52FF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0063FC
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f52ff;
/* rgb */ color: rgb(79, 82, 255);
/* oklch */ color: oklch(55.2% 0.249 273.9);
Tailwind
colors: {
  custom: {
    50: '#9684ff',
    500: '#4f52ff',
    950: '#000000',
  },
}
SCSS
$custom: #4f52ff;
$custom-light: #9684ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52ff",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 238.977,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.24869,
    "h": 273.9
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#4F52FF
secondary
#F2F1B7
accent
#E200E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #4F52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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