#4C52DB#4C52DB

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

Color values

HEX#4C52DB
RGBrgb(76, 82, 219)
HSLhsl(237, 67%, 58%)
HSVhsv(237, 65%, 86%)
CMYKcmyk(65.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.28, 40.00, -70.85)
CIE-LCHlch(42.28, 81.36, 299.45°)
OKLaboklab(51.87% 0.0169 -0.2043)
OKLCHoklch(51.87% 0.205 274.7)
XYZxyz(18.7797, 12.6839, 68.4627)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52DB #DBD54C
analogous
#4C99DB #4C52DB #8E4CDB
triadic
#4C52DB #DB4C52 #52DB4C
tetradic
#4C52DB #DB4C99 #DBD54C #4CDB8E
square
#4C52DB #DB4C99 #DBD54C #4CDB8E
split-complementary
#4C52DB #DB8E4C #99DB4C
monochromatic
#1D2290 #272EC3 #4C52DB #7F83E5 #B2B4EF

Accessibility & contrast

On white

5.94
#4C52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4C52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52DB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52DB#FFFFFF#000000##FFFFFF
##4C52DB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c52db;
/* rgb */ color: rgb(76, 82, 219);
/* oklch */ color: oklch(51.9% 0.205 274.7);
Tailwind
colors: {
  custom: {
    50: '#8e83e7',
    500: '#4c52db',
    950: '#000000',
  },
}
SCSS
$custom: #4c52db;
$custom-light: #8e83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52db",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 237.483,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.205,
    "h": 274.7
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#4C52DB
secondary
#DEDCA5
accent
#E23EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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