#4C51DA#4C51DA

#4C51DA is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.6% C 0.205 H 275.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4C51DA
RGBrgb(76, 81, 218)
HSLhsl(238, 66%, 58%)
HSVhsv(238, 65%, 85%)
CMYKcmyk(65.1%, 62.8%, 0%, 14.5%)
CIE-LABlab(41.97, 40.27, -70.79)
CIE-LCHlch(41.97, 81.44, 299.64°)
OKLaboklab(51.62% 0.0177 -0.2041)
OKLCHoklch(51.62% 0.205 275)
XYZxyz(18.5736, 12.4817, 67.7465)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C51DA #DAD54C
analogous
#4C98DA #4C51DA #8E4CDA
triadic
#4C51DA #DA4C51 #51DA4C
tetradic
#4C51DA #DA4C98 #DAD54C #4CDA8E
square
#4C51DA #DA4C98 #DAD54C #4CDA8E
split-complementary
#4C51DA #DA8E4C #98DA4C
monochromatic
#1D218E #282DC1 #4C51DA #7F82E4 #B1B4EF

Accessibility & contrast

On white

6.01
#4C51DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4C51DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C51DA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C51DA#FFFFFF#000000##FFFFFF
##4C51DA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c51da;
/* rgb */ color: rgb(76, 81, 218);
/* oklch */ color: oklch(51.6% 0.205 275.0);
Tailwind
colors: {
  custom: {
    50: '#8e82e6',
    500: '#4c51da',
    950: '#000000',
  },
}
SCSS
$custom: #4c51da;
$custom-light: #8e82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c51da",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 237.887,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.20489,
    "h": 275
  },
  "luminance": 0.12483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C51DA

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

Preview Lab → · Contrast checker → · Palette generator →

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