#4D52D1#4D52D1

#4D52D1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.192 H 275.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4D52D1
RGBrgb(77, 82, 209)
HSLhsl(238, 59%, 56%)
HSVhsv(238, 63%, 82%)
CMYKcmyk(63.2%, 60.8%, 0%, 18%)
CIE-LABlab(41.55, 36.81, -66.31)
CIE-LCHlch(41.55, 75.84, 299.04°)
OKLaboklab(51.1% 0.0185 -0.1909)
OKLCHoklch(51.1% 0.192 275.5)
XYZxyz(17.5827, 12.2144, 61.7403)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52D1 #D1CC4D
analogous
#4D94D1 #4D52D1 #8A4DD1
triadic
#4D52D1 #D14D52 #52D14D
tetradic
#4D52D1 #D14D94 #D1CC4D #4DD18A
square
#4D52D1 #D14D94 #D1CC4D #4DD18A
split-complementary
#4D52D1 #D18A4D #94D14D
monochromatic
#222582 #2E33B3 #4D52D1 #7E81DE #AEB1EA

Accessibility & contrast

On white

6.10
#4D52D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4D52D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52D1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52D1#FFFFFF#000000##FFFFFF
##4D52D11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d52d1;
/* rgb */ color: rgb(77, 82, 209);
/* oklch */ color: oklch(51.1% 0.192 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d83e0',
    500: '#4d52d1',
    950: '#000000',
  },
}
SCSS
$custom: #4d52d1;
$custom-light: #8d83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52d1",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 237.727,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.19183,
    "h": 275.5
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#4D52D1
secondary
#D8D6A2
accent
#DC46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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