#4D52FD#4D52FD

#4D52FD is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.9% C 0.247 H 273.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4D52FD
RGBrgb(77, 82, 253)
HSLhsl(238, 98%, 65%)
HSVhsv(238, 70%, 99%)
CMYKcmyk(69.6%, 67.6%, 0%, 0.8%)
CIE-LABlab(45.22, 51.26, -85.21)
CIE-LCHlch(45.22, 99.44, 301.03°)
OKLaboklab(54.91% 0.015 -0.2463)
OKLCHoklch(54.91% 0.247 273.5)
XYZxyz(23.8016, 14.7019, 94.4929)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52FD #FDF84D
analogous
#4DAAFD #4D52FD #A04DFD
triadic
#4D52FD #FD4D52 #52FD4D
tetradic
#4D52FD #FD4DAA #FDF84D #4DFDA0
square
#4D52FD #FD4DAA #FDF84D #4DFDA0
split-complementary
#4D52FD #FDA04D #AAFD4D
monochromatic
#0208CD #1017FC #4D52FD #8A8DFE #C6C8FE

Accessibility & contrast

On white

5.33
#4D52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4D52FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52FD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52FD#FFFFFF#000000##FFFFFF
##4D52FD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0063FA
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d52fd;
/* rgb */ color: rgb(77, 82, 253);
/* oklch */ color: oklch(54.9% 0.247 273.5);
Tailwind
colors: {
  custom: {
    50: '#9583ff',
    500: '#4d52fd',
    950: '#000000',
  },
}
SCSS
$custom: #4d52fd;
$custom-light: #9583ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52fd",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 238.295,
    "s": 97.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.24678,
    "h": 273.5
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

primary
#4D52FD
secondary
#F1EFB5
accent
#DF00E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #4D52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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