#4748E8#4748E8

#4748E8 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.233 H 274.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4748E8
RGBrgb(71, 72, 232)
HSLhsl(240, 78%, 59%)
HSVhsv(240, 69%, 91%)
CMYKcmyk(69.4%, 69%, 0%, 9%)
CIE-LABlab(40.89, 49.54, -80.54)
CIE-LCHlch(40.89, 94.56, 301.60°)
OKLaboklab(51.12% 0.0168 -0.2328)
OKLCHoklch(51.12% 0.233 274.1)
XYZxyz(19.4765, 11.7987, 77.5792)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748E8 #E8E747
analogous
#4799E8 #4748E8 #9647E8
triadic
#4748E8 #E84748 #48E847
tetradic
#4748E8 #E84799 #E8E747 #47E896
square
#4748E8 #E84799 #E8E747 #47E896
split-complementary
#4748E8 #E89647 #99E847
monochromatic
#1415A1 #1B1CD7 #4748E8 #7D7EEF #B4B4F6

Accessibility & contrast

On white

6.25
#4748E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4748E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748E8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748E8#FFFFFF#000000##FFFFFF
##4748E81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068ED
Deuteranopia (green-blind)
#0059E5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4748e8;
/* rgb */ color: rgb(71, 72, 232);
/* oklch */ color: oklch(51.1% 0.233 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f7cf1',
    500: '#4748e8',
    950: '#000000',
  },
}
SCSS
$custom: #4748e8;
$custom-light: #8f7cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4748e8",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 239.627,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.23341,
    "h": 274.1
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#4748E8
secondary
#E5E4A6
accent
#F334F4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4748E8

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

Preview Lab → · Contrast checker → · Palette generator →

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