#4D52DB#4D52DB

#4D52DB is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.9% C 0.205 H 275.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4D52DB
RGBrgb(77, 82, 219)
HSLhsl(238, 66%, 58%)
HSVhsv(238, 65%, 86%)
CMYKcmyk(64.8%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.35, 40.14, -70.75)
CIE-LCHlch(42.35, 81.34, 299.57°)
OKLaboklab(51.93% 0.018 -0.204)
OKLCHoklch(51.93% 0.205 275.1)
XYZxyz(18.8598, 12.7252, 68.4664)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52DB #DBD64D
analogous
#4D99DB #4D52DB #8F4DDB
triadic
#4D52DB #DB4D52 #52DB4D
tetradic
#4D52DB #DB4D99 #DBD64D #4DDB8F
square
#4D52DB #DB4D99 #DBD64D #4DDB8F
split-complementary
#4D52DB #DB8F4D #99DB4D
monochromatic
#1D2190 #272DC3 #4D52DB #8083E5 #B3B5F0

Accessibility & contrast

On white

5.92
#4D52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4D52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52DB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52DB#FFFFFF#000000##FFFFFF
##4D52DB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d52db;
/* rgb */ color: rgb(77, 82, 219);
/* oklch */ color: oklch(51.9% 0.205 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f83e7',
    500: '#4d52db',
    950: '#000000',
  },
}
SCSS
$custom: #4d52db;
$custom-light: #8f83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52db",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 237.887,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.20477,
    "h": 275.1
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#4D52DB
secondary
#DEDCA6
accent
#E33FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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