#4C51DE#4C51DE

#4C51DE is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.210 H 274.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4C51DE
RGBrgb(76, 81, 222)
HSLhsl(238, 69%, 58%)
HSVhsv(238, 66%, 87%)
CMYKcmyk(65.8%, 63.5%, 0%, 12.9%)
CIE-LABlab(42.30, 41.60, -72.54)
CIE-LCHlch(42.30, 83.62, 299.83°)
OKLaboklab(51.95% 0.0175 -0.2093)
OKLCHoklch(51.95% 0.21 274.8)
XYZxyz(19.1034, 12.6936, 70.5365)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C51DE #DED94C
analogous
#4C9ADE #4C51DE #904CDE
triadic
#4C51DE #DE4C51 #51DE4C
tetradic
#4C51DE #DE4C9A #DED94C #4CDE90
square
#4C51DE #DE4C9A #DED94C #4CDE90
split-complementary
#4C51DE #DE904C #9ADE4C
monochromatic
#1B1F94 #252AC8 #4C51DE #8083E8 #B3B5F1

Accessibility & contrast

On white

5.93
#4C51DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C51DE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C51DE#FFFFFF#000000##FFFFFF
##4C51DE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c51de;
/* rgb */ color: rgb(76, 81, 222);
/* oklch */ color: oklch(52.0% 0.210 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f82e9',
    500: '#4c51de',
    950: '#000000',
  },
}
SCSS
$custom: #4c51de;
$custom-light: #8f82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c51de",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 237.945,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.20999,
    "h": 274.8
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#4C51DE
secondary
#E0DEA6
accent
#E63CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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