#4750E8#4750E8

#4750E8 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.225 H 273.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4750E8
RGBrgb(71, 80, 232)
HSLhsl(237, 78%, 59%)
HSVhsv(237, 69%, 91%)
CMYKcmyk(69.4%, 65.5%, 0%, 9%)
CIE-LABlab(42.61, 44.89, -77.71)
CIE-LCHlch(42.61, 89.75, 300.01°)
OKLaboklab(52.36% 0.0119 -0.2245)
OKLCHoklch(52.36% 0.225 273)
XYZxyz(20.0278, 12.9012, 77.7630)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4750E8 #E8DF47
analogous
#47A1E8 #4750E8 #8F47E8
triadic
#4750E8 #E84750 #50E847
tetradic
#4750E8 #E847A1 #E8DF47 #47E88F
square
#4750E8 #E847A1 #E8DF47 #47E88F
split-complementary
#4750E8 #E88F47 #A1E847
monochromatic
#141CA1 #1B25D7 #4750E8 #7D84EF #B4B7F6

Accessibility & contrast

On white

5.86
#4750E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4750E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4750E8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4750E8#FFFFFF#000000##FFFFFF
##4750E81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#005DE5
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4750e8;
/* rgb */ color: rgb(71, 80, 232);
/* oklch */ color: oklch(52.4% 0.225 273.0);
Tailwind
colors: {
  custom: {
    50: '#8f81f1',
    500: '#4750e8',
    950: '#000000',
  },
}
SCSS
$custom: #4750e8;
$custom-light: #8f81f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4750e8",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 236.646,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.22485,
    "h": 273
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

primary
#4750E8
secondary
#E5E1A6
accent
#EA34F4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4750E8

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

Preview Lab → · Contrast checker → · Palette generator →

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