#4D52CF#4D52CF

#4D52CF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.189 H 275.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4D52CF
RGBrgb(77, 82, 207)
HSLhsl(238, 58%, 56%)
HSVhsv(238, 63%, 81%)
CMYKcmyk(62.8%, 60.4%, 0%, 18.8%)
CIE-LABlab(41.40, 36.15, -65.41)
CIE-LCHlch(41.40, 74.73, 298.93°)
OKLaboklab(50.94% 0.0186 -0.1883)
OKLCHoklch(50.94% 0.189 275.6)
XYZxyz(17.3367, 12.1159, 60.4444)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52CF #CFCA4D
analogous
#4D93CF #4D52CF #894DCF
triadic
#4D52CF #CF4D52 #52CF4D
tetradic
#4D52CF #CF4D93 #CFCA4D #4DCF89
square
#4D52CF #CF4D93 #CFCA4D #4DCF89
split-complementary
#4D52CF #CF894D #93CF4D
monochromatic
#22267F #2F34AF #4D52CF #7D81DC #ADB0E9

Accessibility & contrast

On white

6.13
#4D52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4D52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52CF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52CF#FFFFFF#000000##FFFFFF
##4D52CF1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d52cf;
/* rgb */ color: rgb(77, 82, 207);
/* oklch */ color: oklch(50.9% 0.189 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c82df',
    500: '#4d52cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d52cf;
$custom-light: #8c82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52cf",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 237.692,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5094,
    "c": 0.1892,
    "h": 275.6
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#4D52CF
secondary
#D7D5A1
accent
#DB47E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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