#4D52CE#4D52CE

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

Color values

HEX#4D52CE
RGBrgb(77, 82, 206)
HSLhsl(238, 57%, 55%)
HSVhsv(238, 63%, 81%)
CMYKcmyk(62.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.32, 35.81, -64.96)
CIE-LCHlch(41.32, 74.17, 298.87°)
OKLaboklab(50.86% 0.0186 -0.187)
OKLCHoklch(50.86% 0.188 275.7)
XYZxyz(17.2148, 12.0672, 59.8026)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52CE #CEC94D
analogous
#4D93CE #4D52CE #884DCE
triadic
#4D52CE #CE4D52 #52CE4D
tetradic
#4D52CE #CE4D93 #CEC94D #4DCE88
square
#4D52CE #CE4D93 #CEC94D #4DCE88
split-complementary
#4D52CE #CE884D #93CE4D
monochromatic
#23267E #3035AE #4D52CE #7D81DB #ADAFE8

Accessibility & contrast

On white

6.15
#4D52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4D52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52CE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52CE#FFFFFF#000000##FFFFFF
##4D52CE1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d52ce;
/* rgb */ color: rgb(77, 82, 206);
/* oklch */ color: oklch(50.9% 0.188 275.7);
Tailwind
colors: {
  custom: {
    50: '#8c82de',
    500: '#4d52ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d52ce;
$custom-light: #8c82de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52ce",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 237.674,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.18789,
    "h": 275.7
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#4D52CE
secondary
#D6D4A1
accent
#DA48E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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