#4A51ED#4A51ED

#4A51ED is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.229 H 273.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4A51ED
RGBrgb(74, 81, 237)
HSLhsl(237, 82%, 61%)
HSVhsv(237, 69%, 93%)
CMYKcmyk(68.8%, 65.8%, 0%, 7.1%)
CIE-LABlab(43.44, 46.30, -79.18)
CIE-LCHlch(43.44, 91.72, 300.32°)
OKLaboklab(53.14% 0.014 -0.2288)
OKLCHoklch(53.14% 0.229 273.5)
XYZxyz(21.0474, 13.4531, 81.5918)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A51ED #EDE64A
analogous
#4AA2ED #4A51ED #944AED
triadic
#4A51ED #ED4A51 #51ED4A
tetradic
#4A51ED #ED4AA2 #EDE64A #4AED94
square
#4A51ED #ED4AA2 #EDE64A #4AED94
split-complementary
#4A51ED #ED944A #A2ED4A
monochromatic
#1118AC #171FE3 #4A51ED #8287F3 #B9BCF8

Accessibility & contrast

On white

5.69
#4A51ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4A51ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A51ED
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A51ED#FFFFFF#000000##FFFFFF
##4A51ED1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF2
Deuteranopia (green-blind)
#005FEA
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a51ed;
/* rgb */ color: rgb(74, 81, 237);
/* oklch */ color: oklch(53.1% 0.229 273.5);
Tailwind
colors: {
  custom: {
    50: '#9182f4',
    500: '#4a51ed',
    950: '#000000',
  },
}
SCSS
$custom: #4a51ed;
$custom-light: #9182f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a51ed",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 237.423,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.22919,
    "h": 273.5
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#4A51ED
secondary
#E8E5AB
accent
#D507DE
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A51ED

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

Preview Lab → · Contrast checker → · Palette generator →

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