#4A51D0#4A51D0

#4A51D0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.192 H 274.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4A51D0
RGBrgb(74, 81, 208)
HSLhsl(237, 59%, 55%)
HSVhsv(237, 64%, 82%)
CMYKcmyk(64.4%, 61.1%, 0%, 18.4%)
CIE-LABlab(41.05, 36.64, -66.57)
CIE-LCHlch(41.05, 75.99, 298.83°)
OKLaboklab(50.65% 0.016 -0.1918)
OKLCHoklch(50.65% 0.192 274.8)
XYZxyz(17.1479, 11.8933, 61.0542)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A51D0 #D0C94A
analogous
#4A94D0 #4A51D0 #864AD0
triadic
#4A51D0 #D04A51 #51D04A
tetradic
#4A51D0 #D04A94 #D0C94A #4AD086
square
#4A51D0 #D04A94 #D0C94A #4AD086
split-complementary
#4A51D0 #D0864A #94D04A
monochromatic
#21267F #2E34AF #4A51D0 #7B80DD #ABAEE9

Accessibility & contrast

On white

6.21
#4A51D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4A51D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A51D0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A51D0#FFFFFF#000000##FFFFFF
##4A51D01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#005BCE
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a51d0;
/* rgb */ color: rgb(74, 81, 208);
/* oklch */ color: oklch(50.7% 0.192 274.8);
Tailwind
colors: {
  custom: {
    50: '#8b82df',
    500: '#4a51d0',
    950: '#000000',
  },
}
SCSS
$custom: #4a51d0;
$custom-light: #8b82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a51d0",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 236.866,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.19245,
    "h": 274.8
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#4A51D0
secondary
#D7D49F
accent
#DA46E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A51D0

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

Preview Lab → · Contrast checker → · Palette generator →

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