#4748C2#4748C2

#4748C2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.186 H 276.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4748C2
RGBrgb(71, 72, 194)
HSLhsl(240, 50%, 52%)
HSVhsv(240, 63%, 76%)
CMYKcmyk(63.4%, 62.9%, 0%, 23.9%)
CIE-LABlab(37.60, 37.03, -64.07)
CIE-LCHlch(37.60, 74.00, 300.03°)
OKLaboklab(47.73% 0.0207 -0.1846)
OKLCHoklch(47.73% 0.186 276.4)
XYZxyz(14.6503, 9.8682, 52.1612)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748C2 #C2C147
analogous
#4786C2 #4748C2 #8447C2
triadic
#4748C2 #C24748 #48C247
tetradic
#4748C2 #C24786 #C2C147 #47C284
square
#4748C2 #C24786 #C2C147 #47C284
split-complementary
#4748C2 #C28447 #86C247
monochromatic
#24246B #333499 #4748C2 #7576D1 #A3A3E0

Accessibility & contrast

On white

7.06
#4748C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4748C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4748C2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748C2#FFFFFF#000000##FFFFFF
##4748C21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4748c2;
/* rgb */ color: rgb(71, 72, 194);
/* oklch */ color: oklch(47.7% 0.186 276.4);
Tailwind
colors: {
  custom: {
    50: '#887bd5',
    500: '#4748c2',
    950: '#000000',
  },
}
SCSS
$custom: #4748c2;
$custom-light: #887bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4748c2",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 239.512,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.18573,
    "h": 276.4
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#4748C2
secondary
#CDCD97
accent
#D94EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4748C2

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

Preview Lab → · Contrast checker → · Palette generator →

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