#4D52C9#4D52C9

#4D52C9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.181 H 275.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4D52C9
RGBrgb(77, 82, 201)
HSLhsl(238, 53%, 55%)
HSVhsv(238, 62%, 79%)
CMYKcmyk(61.7%, 59.2%, 0%, 21.2%)
CIE-LABlab(40.94, 34.14, -62.69)
CIE-LCHlch(40.94, 71.38, 298.58°)
OKLaboklab(50.46% 0.0188 -0.1803)
OKLCHoklch(50.46% 0.181 275.9)
XYZxyz(16.6170, 11.8281, 56.6544)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52C9 #C9C44D
analogous
#4D90C9 #4D52C9 #864DC9
triadic
#4D52C9 #C94D52 #52C94D
tetradic
#4D52C9 #C94D90 #C9C44D #4DC986
square
#4D52C9 #C94D90 #C9C44D #4DC986
split-complementary
#4D52C9 #C9864D #90C94D
monochromatic
#242877 #3237A6 #4D52C9 #7C80D7 #ABADE5

Accessibility & contrast

On white

6.24
#4D52C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4D52C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52C9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52C9#FFFFFF#000000##FFFFFF
##4D52C91.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d52c9;
/* rgb */ color: rgb(77, 82, 201);
/* oklch */ color: oklch(50.5% 0.181 275.9);
Tailwind
colors: {
  custom: {
    50: '#8b82da',
    500: '#4d52c9',
    950: '#000000',
  },
}
SCSS
$custom: #4d52c9;
$custom-light: #8b82da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52c9",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 201
  },
  "hsl": {
    "h": 237.581,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.18126,
    "h": 275.9
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#4D52C9
secondary
#D3D19F
accent
#D74BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D52C9

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

Preview Lab → · Contrast checker → · Palette generator →

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