#4748E4#4748E4

#4748E4 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.229 H 274.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4748E4
RGBrgb(71, 72, 228)
HSLhsl(240, 74%, 59%)
HSVhsv(240, 69%, 89%)
CMYKcmyk(68.9%, 68.4%, 0%, 10.6%)
CIE-LABlab(40.53, 48.25, -78.86)
CIE-LCHlch(40.53, 92.45, 301.46°)
OKLaboklab(50.75% 0.0173 -0.2279)
OKLCHoklch(50.75% 0.229 274.3)
XYZxyz(18.9148, 11.5740, 74.6209)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748E4 #E4E347
analogous
#4796E4 #4748E4 #9447E4
triadic
#4748E4 #E44748 #48E447
tetradic
#4748E4 #E44796 #E4E347 #47E494
square
#4748E4 #E44796 #E4E347 #47E494
split-complementary
#4748E4 #E49447 #96E447
monochromatic
#17179A #1E20CF #4748E4 #7C7DEC #B2B2F4

Accessibility & contrast

On white

6.33
#4748E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4748E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748E4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748E4#FFFFFF#000000##FFFFFF
##4748E41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E9
Deuteranopia (green-blind)
#0058E1
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4748e4;
/* rgb */ color: rgb(71, 72, 228);
/* oklch */ color: oklch(50.7% 0.229 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e7cee',
    500: '#4748e4',
    950: '#000000',
  },
}
SCSS
$custom: #4748e4;
$custom-light: #8e7cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4748e4",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 239.618,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.22857,
    "h": 274.3
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#4748E4
secondary
#E2E2A4
accent
#F037F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4748E4

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

Preview Lab → · Contrast checker → · Palette generator →

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