#4751E2#4751E2

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

Color values

HEX#4751E2
RGBrgb(71, 81, 226)
HSLhsl(236, 73%, 58%)
HSVhsv(236, 69%, 89%)
CMYKcmyk(68.6%, 64.2%, 0%, 11.4%)
CIE-LABlab(42.33, 42.28, -74.78)
CIE-LCHlch(42.33, 85.91, 299.49°)
OKLaboklab(52% 0.0117 -0.2159)
OKLCHoklch(52% 0.216 273.1)
XYZxyz(19.2638, 12.7136, 73.3755)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751E2 #E2D847
analogous
#479EE2 #4751E2 #8A47E2
triadic
#4751E2 #E24751 #51E247
tetradic
#4751E2 #E2479E #E2D847 #47E28A
square
#4751E2 #E2479E #E2D847 #47E28A
split-complementary
#4751E2 #E28A47 #9EE247
monochromatic
#182097 #202BCC #4751E2 #7C83EA #B1B5F3

Accessibility & contrast

On white

5.93
#4751E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4751E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751E2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751E2#FFFFFF#000000##FFFFFF
##4751E21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4751e2;
/* rgb */ color: rgb(71, 81, 226);
/* oklch */ color: oklch(52.0% 0.216 273.1);
Tailwind
colors: {
  custom: {
    50: '#8d82ec',
    500: '#4751e2',
    950: '#000000',
  },
}
SCSS
$custom: #4751e2;
$custom-light: #8d82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4751e2",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 236.129,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52,
    "c": 0.21626,
    "h": 273.1
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#4751E2
secondary
#E1DDA4
accent
#E438EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4751E2

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

Preview Lab → · Contrast checker → · Palette generator →

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