#4A51DD#4A51DD

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

Color values

HEX#4A51DD
RGBrgb(74, 81, 221)
HSLhsl(237, 68%, 58%)
HSVhsv(237, 67%, 87%)
CMYKcmyk(66.5%, 63.3%, 0%, 13.3%)
CIE-LABlab(42.09, 41.00, -72.31)
CIE-LCHlch(42.09, 83.12, 299.55°)
OKLaboklab(51.75% 0.0153 -0.2086)
OKLCHoklch(51.75% 0.209 274.2)
XYZxyz(18.8133, 12.5595, 69.8254)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A51DD #DDD64A
analogous
#4A9ADD #4A51DD #8C4ADD
triadic
#4A51DD #DD4A51 #51DD4A
tetradic
#4A51DD #DD4A9A #DDD64A #4ADD8C
square
#4A51DD #DD4A9A #DDD64A #4ADD8C
split-complementary
#4A51DD #DD8C4A #9ADD4A
monochromatic
#1B2191 #252DC5 #4A51DD #7E83E7 #B1B4F0

Accessibility & contrast

On white

5.98
#4A51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4A51DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A51DD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A51DD#FFFFFF#000000##FFFFFF
##4A51DD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a51dd;
/* rgb */ color: rgb(74, 81, 221);
/* oklch */ color: oklch(51.7% 0.209 274.2);
Tailwind
colors: {
  custom: {
    50: '#8e82e9',
    500: '#4a51dd',
    950: '#000000',
  },
}
SCSS
$custom: #4a51dd;
$custom-light: #8e82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a51dd",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 237.143,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.2092,
    "h": 274.2
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#4A51DD
secondary
#DFDCA4
accent
#E33DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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