#4748E2#4748E2

#4748E2 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.226 H 274.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4748E2
RGBrgb(71, 72, 226)
HSLhsl(240, 73%, 58%)
HSVhsv(240, 69%, 89%)
CMYKcmyk(68.6%, 68.1%, 0%, 11.4%)
CIE-LABlab(40.35, 47.60, -78.02)
CIE-LCHlch(40.35, 91.40, 301.39°)
OKLaboklab(50.56% 0.0175 -0.2255)
OKLCHoklch(50.56% 0.226 274.4)
XYZxyz(18.6388, 11.4636, 73.1672)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748E2 #E2E147
analogous
#4795E2 #4748E2 #9347E2
triadic
#4748E2 #E24748 #48E247
tetradic
#4748E2 #E24795 #E2E147 #47E293
square
#4748E2 #E24795 #E2E147 #47E293
split-complementary
#4748E2 #E29347 #95E247
monochromatic
#181997 #2021CC #4748E2 #7C7DEA #B1B1F3

Accessibility & contrast

On white

6.38
#4748E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4748E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748E2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748E2#FFFFFF#000000##FFFFFF
##4748E21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4748e2;
/* rgb */ color: rgb(71, 72, 226);
/* oklch */ color: oklch(50.6% 0.226 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e7cec',
    500: '#4748e2',
    950: '#000000',
  },
}
SCSS
$custom: #4748e2;
$custom-light: #8e7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4748e2",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 239.613,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.22614,
    "h": 274.4
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#4748E2
secondary
#E1E1A4
accent
#EE38EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4748E2

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

Preview Lab → · Contrast checker → · Palette generator →

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