#4D52DF#4D52DF

#4D52DF is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.210 H 274.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4D52DF
RGBrgb(77, 82, 223)
HSLhsl(238, 70%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(65.5%, 63.2%, 0%, 12.5%)
CIE-LABlab(42.67, 41.46, -72.50)
CIE-LCHlch(42.67, 83.52, 299.77°)
OKLaboklab(52.27% 0.0178 -0.2091)
OKLCHoklch(52.27% 0.21 274.9)
XYZxyz(19.3927, 12.9384, 71.2731)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52DF #DFDA4D
analogous
#4D9BDF #4D52DF #914DDF
triadic
#4D52DF #DF4D52 #52DF4D
tetradic
#4D52DF #DF4D9B #DFDA4D #4DDF91
square
#4D52DF #DF4D9B #DFDA4D #4DDF91
split-complementary
#4D52DF #DF914D #9BDF4D
monochromatic
#1B1F97 #242ACA #4D52DF #8184E8 #B5B7F2

Accessibility & contrast

On white

5.85
#4D52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4D52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52DF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52DF#FFFFFF#000000##FFFFFF
##4D52DF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d52df;
/* rgb */ color: rgb(77, 82, 223);
/* oklch */ color: oklch(52.3% 0.210 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f83ea',
    500: '#4d52df',
    950: '#000000',
  },
}
SCSS
$custom: #4d52df;
$custom-light: #8f83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52df",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 237.945,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.20986,
    "h": 274.9
  },
  "luminance": 0.1294
}

Semantic roles & 50–950 ramp

primary
#4D52DF
secondary
#E1DFA7
accent
#E63BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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