#4D52FF#4D52FF

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

Color values

HEX#4D52FF
RGBrgb(77, 82, 255)
HSLhsl(238, 100%, 65%)
HSVhsv(238, 70%, 100%)
CMYKcmyk(69.8%, 67.8%, 0%, 0%)
CIE-LABlab(45.40, 51.91, -86.04)
CIE-LCHlch(45.40, 100.48, 301.10°)
OKLaboklab(55.09% 0.0147 -0.2487)
OKLCHoklch(55.09% 0.249 273.4)
XYZxyz(24.1218, 14.8300, 96.1796)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52FF #FFFA4D
analogous
#4DABFF #4D52FF #A14DFF
triadic
#4D52FF #FF4D52 #52FF4D
tetradic
#4D52FF #FF4DAB #FFFA4D #4DFFA1
square
#4D52FF #FF4DAB #FFFA4D #4DFFA1
split-complementary
#4D52FF #FFA14D #ABFF4D
monochromatic
#0006D2 #1017FF #4D52FF #8A8DFF #C7C9FF

Accessibility & contrast

On white

5.29
#4D52FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4D52FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52FF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52FF#FFFFFF#000000##FFFFFF
##4D52FF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.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: #4d52ff;
/* rgb */ color: rgb(77, 82, 255);
/* oklch */ color: oklch(55.1% 0.249 273.4);
Tailwind
colors: {
  custom: {
    50: '#9684ff',
    500: '#4d52ff',
    950: '#000000',
  },
}
SCSS
$custom: #4d52ff;
$custom-light: #9684ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52ff",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 238.315,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.24917,
    "h": 273.4
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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