#4D52DC#4D52DC

#4D52DC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.0% C 0.206 H 275.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4D52DC
RGBrgb(77, 82, 220)
HSLhsl(238, 67%, 58%)
HSVhsv(238, 65%, 86%)
CMYKcmyk(65%, 62.7%, 0%, 13.7%)
CIE-LABlab(42.43, 40.47, -71.19)
CIE-LCHlch(42.43, 81.89, 299.62°)
OKLaboklab(52.02% 0.018 -0.2052)
OKLCHoklch(52.02% 0.206 275)
XYZxyz(18.9919, 12.7780, 69.1618)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52DC #DCD74D
analogous
#4D99DC #4D52DC #8F4DDC
triadic
#4D52DC #DC4D52 #52DC4D
tetradic
#4D52DC #DC4D99 #DCD74D #4DDC8F
square
#4D52DC #DC4D99 #DCD74D #4DDC8F
split-complementary
#4D52DC #DC8F4D #99DC4D
monochromatic
#1D2192 #272CC5 #4D52DC #8084E6 #B3B5F0

Accessibility & contrast

On white

5.91
#4D52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4D52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52DC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52DC#FFFFFF#000000##FFFFFF
##4D52DC1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d52dc;
/* rgb */ color: rgb(77, 82, 220);
/* oklch */ color: oklch(52.0% 0.206 275.0);
Tailwind
colors: {
  custom: {
    50: '#8f83e8',
    500: '#4d52dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d52dc;
$custom-light: #8f83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52dc",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 237.902,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.20604,
    "h": 275
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#4D52DC
secondary
#DFDDA6
accent
#E43EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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