#4D52D6#4D52D6

#4D52D6 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.198 H 275.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4D52D6
RGBrgb(77, 82, 214)
HSLhsl(238, 63%, 57%)
HSVhsv(238, 64%, 84%)
CMYKcmyk(64%, 61.7%, 0%, 16.1%)
CIE-LABlab(41.95, 38.48, -68.54)
CIE-LCHlch(41.95, 78.60, 299.31°)
OKLaboklab(51.51% 0.0183 -0.1975)
OKLCHoklch(51.51% 0.198 275.3)
XYZxyz(18.2115, 12.4659, 65.0517)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52D6 #D6D14D
analogous
#4D97D6 #4D52D6 #8C4DD6
triadic
#4D52D6 #D64D52 #52D64D
tetradic
#4D52D6 #D64D97 #D6D14D #4DD68C
square
#4D52D6 #D64D97 #D6D14D #4DD68C
split-complementary
#4D52D6 #D68C4D #97D64D
monochromatic
#202389 #2B30BB #4D52D6 #7F82E1 #B0B3ED

Accessibility & contrast

On white

6.01
#4D52D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4D52D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52D6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52D6#FFFFFF#000000##FFFFFF
##4D52D61.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d52d6;
/* rgb */ color: rgb(77, 82, 214);
/* oklch */ color: oklch(51.5% 0.198 275.3);
Tailwind
colors: {
  custom: {
    50: '#8e83e4',
    500: '#4d52d6',
    950: '#000000',
  },
}
SCSS
$custom: #4d52d6;
$custom-light: #8e83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52d6",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 237.81,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.19833,
    "h": 275.3
  },
  "luminance": 0.12467
}

Semantic roles & 50–950 ramp

primary
#4D52D6
secondary
#DBD9A4
accent
#E042E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D52D6

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

Preview Lab → · Contrast checker → · Palette generator →

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