#4751E4#4751E4

#4751E4 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.219 H 273.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4751E4
RGBrgb(71, 81, 228)
HSLhsl(236, 74%, 59%)
HSVhsv(236, 69%, 89%)
CMYKcmyk(68.9%, 64.5%, 0%, 10.6%)
CIE-LABlab(42.50, 42.96, -75.64)
CIE-LCHlch(42.50, 86.99, 299.59°)
OKLaboklab(52.18% 0.0115 -0.2185)
OKLCHoklch(52.18% 0.219 273)
XYZxyz(19.5399, 12.8240, 74.8293)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751E4 #E4DA47
analogous
#479FE4 #4751E4 #8B47E4
triadic
#4751E4 #E44751 #51E447
tetradic
#4751E4 #E4479F #E4DA47 #47E48B
square
#4751E4 #E4479F #E4DA47 #47E48B
split-complementary
#4751E4 #E48B47 #9FE447
monochromatic
#171F9A #1E2ACF #4751E4 #7C83EC #B2B6F4

Accessibility & contrast

On white

5.89
#4751E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4751E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751E4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751E4#FFFFFF#000000##FFFFFF
##4751E41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4751e4;
/* rgb */ color: rgb(71, 81, 228);
/* oklch */ color: oklch(52.2% 0.219 273.0);
Tailwind
colors: {
  custom: {
    50: '#8e82ee',
    500: '#4751e4',
    950: '#000000',
  },
}
SCSS
$custom: #4751e4;
$custom-light: #8e82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4751e4",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 236.178,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.21876,
    "h": 273
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#4751E4
secondary
#E2DEA4
accent
#E537F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4751E4

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

Preview Lab → · Contrast checker → · Palette generator →

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