#4748E6#4748E6

#4748E6 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.231 H 274.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4748E6
RGBrgb(71, 72, 230)
HSLhsl(240, 76%, 59%)
HSVhsv(240, 69%, 90%)
CMYKcmyk(69.1%, 68.7%, 0%, 9.8%)
CIE-LABlab(40.71, 48.90, -79.70)
CIE-LCHlch(40.71, 93.51, 301.53°)
OKLaboklab(50.93% 0.017 -0.2304)
OKLCHoklch(50.93% 0.231 274.2)
XYZxyz(19.1941, 11.6857, 76.0916)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748E6 #E6E547
analogous
#4798E6 #4748E6 #9647E6
triadic
#4748E6 #E64748 #48E647
tetradic
#4748E6 #E64798 #E6E547 #47E696
square
#4748E6 #E64798 #E6E547 #47E696
split-complementary
#4748E6 #E69647 #98E647
monochromatic
#15169D #1D1ED3 #4748E6 #7D7EED #B3B3F5

Accessibility & contrast

On white

6.29
#4748E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4748E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748E6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748E6#FFFFFF#000000##FFFFFF
##4748E61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EB
Deuteranopia (green-blind)
#0059E3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4748e6;
/* rgb */ color: rgb(71, 72, 230);
/* oklch */ color: oklch(50.9% 0.231 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f7cef',
    500: '#4748e6',
    950: '#000000',
  },
}
SCSS
$custom: #4748e6;
$custom-light: #8f7cef;
$custom-dark: #000000;
JSON
{
  "hex": "#4748e6",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 239.623,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.231,
    "h": 274.2
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#4748E6
secondary
#E4E3A5
accent
#F135F3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4748E6

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

Preview Lab → · Contrast checker → · Palette generator →

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