#4751E1#4751E1

#4751E1 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.9% C 0.215 H 273.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4751E1
RGBrgb(71, 81, 225)
HSLhsl(236, 72%, 58%)
HSVhsv(236, 68%, 88%)
CMYKcmyk(68.4%, 64%, 0%, 11.8%)
CIE-LABlab(42.24, 41.95, -74.35)
CIE-LCHlch(42.24, 85.37, 299.43°)
OKLaboklab(51.91% 0.0117 -0.2147)
OKLCHoklch(51.91% 0.215 273.1)
XYZxyz(19.1270, 12.6589, 72.6550)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751E1 #E1D747
analogous
#479EE1 #4751E1 #8A47E1
triadic
#4751E1 #E14751 #51E147
tetradic
#4751E1 #E1479E #E1D747 #47E18A
square
#4751E1 #E1479E #E1D747 #47E18A
split-complementary
#4751E1 #E18A47 #9EE147
monochromatic
#182095 #212CCA #4751E1 #7C83EA #B0B5F2

Accessibility & contrast

On white

5.95
#4751E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4751E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751E1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751E1#FFFFFF#000000##FFFFFF
##4751E11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4751e1;
/* rgb */ color: rgb(71, 81, 225);
/* oklch */ color: oklch(51.9% 0.215 273.1);
Tailwind
colors: {
  custom: {
    50: '#8d82ec',
    500: '#4751e1',
    950: '#000000',
  },
}
SCSS
$custom: #4751e1;
$custom-light: #8d82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4751e1",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 236.104,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.215,
    "h": 273.1
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#4751E1
secondary
#E1DDA3
accent
#E339EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4751E1

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

Preview Lab → · Contrast checker → · Palette generator →

#4751E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva