#4C51DD#4C51DD

#4C51DD is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.9% C 0.209 H 274.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4C51DD
RGBrgb(76, 81, 221)
HSLhsl(238, 68%, 58%)
HSVhsv(238, 66%, 87%)
CMYKcmyk(65.6%, 63.3%, 0%, 13.3%)
CIE-LABlab(42.22, 41.27, -72.10)
CIE-LCHlch(42.22, 83.08, 299.78°)
OKLaboklab(51.87% 0.0176 -0.208)
OKLCHoklch(51.87% 0.209 274.8)
XYZxyz(18.9698, 12.6401, 69.8327)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C51DD #DDD84C
analogous
#4C99DD #4C51DD #8F4CDD
triadic
#4C51DD #DD4C51 #51DD4C
tetradic
#4C51DD #DD4C99 #DDD84C #4CDD8F
square
#4C51DD #DD4C99 #DDD84C #4CDD8F
split-complementary
#4C51DD #DD8F4C #99DD4C
monochromatic
#1C2093 #262BC6 #4C51DD #7F83E7 #B3B5F1

Accessibility & contrast

On white

5.95
#4C51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4C51DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C51DD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C51DD#FFFFFF#000000##FFFFFF
##4C51DD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c51dd;
/* rgb */ color: rgb(76, 81, 221);
/* oklch */ color: oklch(51.9% 0.209 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f82e9',
    500: '#4c51dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c51dd;
$custom-light: #8f82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c51dd",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 237.931,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.20872,
    "h": 274.8
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#4C51DD
secondary
#DFDDA6
accent
#E53DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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