#4C52F3#4C52F3

#4C52F3 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.9% C 0.235 H 273.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4C52F3
RGBrgb(76, 82, 243)
HSLhsl(238, 87%, 63%)
HSVhsv(238, 69%, 95%)
CMYKcmyk(68.7%, 66.3%, 0%, 4.7%)
CIE-LABlab(44.29, 47.91, -81.15)
CIE-LCHlch(44.29, 94.24, 300.56°)
OKLaboklab(53.95% 0.015 -0.2345)
OKLCHoklch(53.95% 0.235 273.7)
XYZxyz(22.1701, 14.0400, 86.3183)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52F3 #F3ED4C
analogous
#4CA6F3 #4C52F3 #994CF3
triadic
#4C52F3 #F34C52 #52F34C
tetradic
#4C52F3 #F34CA6 #F3ED4C #4CF399
square
#4C52F3 #F34CA6 #F3ED4C #4CF399
split-complementary
#4C52F3 #F3994C #A6F34C
monochromatic
#0C13B8 #131BEF #4C52F3 #8589F7 #BFC1FB

Accessibility & contrast

On white

5.51
#4C52F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4C52F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52F3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52F3#FFFFFF#000000##FFFFFF
##4C52F31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F8
Deuteranopia (green-blind)
#0061F0
Tritanopia (blue-blind)
#007D9C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c52f3;
/* rgb */ color: rgb(76, 82, 243);
/* oklch */ color: oklch(53.9% 0.235 273.7);
Tailwind
colors: {
  custom: {
    50: '#9383f8',
    500: '#4c52f3',
    950: '#000000',
  },
}
SCSS
$custom: #4c52f3;
$custom-light: #9383f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52f3",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 237.844,
    "s": 87.435,
    "l": 62.549
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.23496,
    "h": 273.7
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#4C52F3
secondary
#ECEAAF
accent
#DC02E4
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #4C52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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