#4751E6#4751E6

#4751E6 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.221 H 272.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4751E6
RGBrgb(71, 81, 230)
HSLhsl(236, 76%, 59%)
HSVhsv(236, 69%, 90%)
CMYKcmyk(69.1%, 64.8%, 0%, 9.8%)
CIE-LABlab(42.67, 43.62, -76.50)
CIE-LCHlch(42.67, 88.06, 299.70°)
OKLaboklab(52.35% 0.0114 -0.221)
OKLCHoklch(52.35% 0.221 272.9)
XYZxyz(19.8191, 12.9357, 76.2999)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751E6 #E6DC47
analogous
#47A1E6 #4751E6 #8C47E6
triadic
#4751E6 #E64751 #51E647
tetradic
#4751E6 #E647A1 #E6DC47 #47E68C
square
#4751E6 #E647A1 #E6DC47 #47E68C
split-complementary
#4751E6 #E68C47 #A1E647
monochromatic
#151E9D #1D28D3 #4751E6 #7D84ED #B3B7F5

Accessibility & contrast

On white

5.85
#4751E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4751E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751E6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751E6#FFFFFF#000000##FFFFFF
##4751E61.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4751e6;
/* rgb */ color: rgb(71, 81, 230);
/* oklch */ color: oklch(52.3% 0.221 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e82ef',
    500: '#4751e6',
    950: '#000000',
  },
}
SCSS
$custom: #4751e6;
$custom-light: #8e82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4751e6",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 236.226,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.22126,
    "h": 272.9
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#4751E6
secondary
#E4E0A5
accent
#E735F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4751E6

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

Preview Lab → · Contrast checker → · Palette generator →

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