#4750E4#4750E4

#4750E4 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.220 H 273.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4750E4
RGBrgb(71, 80, 228)
HSLhsl(237, 74%, 59%)
HSVhsv(237, 69%, 89%)
CMYKcmyk(68.9%, 64.9%, 0%, 10.6%)
CIE-LABlab(42.27, 43.55, -76.01)
CIE-LCHlch(42.27, 87.60, 299.81°)
OKLaboklab(52.01% 0.0122 -0.2195)
OKLCHoklch(52.01% 0.22 273.2)
XYZxyz(19.4661, 12.6765, 74.8047)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4750E4 #E4DB47
analogous
#479EE4 #4750E4 #8C47E4
triadic
#4750E4 #E44750 #50E447
tetradic
#4750E4 #E4479E #E4DB47 #47E48C
square
#4750E4 #E4479E #E4DB47 #47E48C
split-complementary
#4750E4 #E48C47 #9EE447
monochromatic
#171E9A #1E29CF #4750E4 #7C83EC #B2B6F4

Accessibility & contrast

On white

5.94
#4750E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4750E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4750E4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4750E4#FFFFFF#000000##FFFFFF
##4750E41.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4750e4;
/* rgb */ color: rgb(71, 80, 228);
/* oklch */ color: oklch(52.0% 0.220 273.2);
Tailwind
colors: {
  custom: {
    50: '#8e81ee',
    500: '#4750e4',
    950: '#000000',
  },
}
SCSS
$custom: #4750e4;
$custom-light: #8e81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4750e4",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 236.561,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.21989,
    "h": 273.2
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#4750E4
secondary
#E2DFA4
accent
#E637F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4750E4

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

Preview Lab → · Contrast checker → · Palette generator →

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