#4C52FF#4C52FF

#4C52FF is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.249 H 273.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C52FF
RGBrgb(76, 82, 255)
HSLhsl(238, 100%, 65%)
HSVhsv(238, 70%, 100%)
CMYKcmyk(70.2%, 67.8%, 0%, 0%)
CIE-LABlab(45.34, 51.80, -86.13)
CIE-LCHlch(45.34, 100.51, 301.02°)
OKLaboklab(55.03% 0.0137 -0.249)
OKLCHoklch(55.03% 0.249 273.1)
XYZxyz(24.0417, 14.7887, 96.1758)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52FF #FFF94C
analogous
#4CABFF #4C52FF #A04CFF
triadic
#4C52FF #FF4C52 #52FF4C
tetradic
#4C52FF #FF4CAB #FFF94C #4CFFA0
square
#4C52FF #FF4CAB #FFF94C #4CFFA0
split-complementary
#4C52FF #FFA04C #ABFF4C
monochromatic
#0007D1 #0F17FF #4C52FF #898DFF #C6C8FF

Accessibility & contrast

On white

5.31
#4C52FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4C52FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52FF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52FF#FFFFFF#000000##FFFFFF
##4C52FF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c52ff;
/* rgb */ color: rgb(76, 82, 255);
/* oklch */ color: oklch(55.0% 0.249 273.1);
Tailwind
colors: {
  custom: {
    50: '#9583ff',
    500: '#4c52ff',
    950: '#000000',
  },
}
SCSS
$custom: #4c52ff;
$custom-light: #9583ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52ff",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 237.989,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.2494,
    "h": 273.1
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#4C52FF
secondary
#F2F0B5
accent
#DE00E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #4C52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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