#4748C7#4748C7

#4748C7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.2% C 0.192 H 276.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4748C7
RGBrgb(71, 72, 199)
HSLhsl(240, 53%, 53%)
HSVhsv(240, 64%, 78%)
CMYKcmyk(64.3%, 63.8%, 0%, 22%)
CIE-LABlab(38.02, 38.70, -66.31)
CIE-LCHlch(38.02, 76.78, 300.27°)
OKLaboklab(48.15% 0.0203 -0.1912)
OKLCHoklch(48.15% 0.192 276.1)
XYZxyz(15.2213, 10.0966, 55.1685)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748C7 #C7C647
analogous
#4788C7 #4748C7 #8647C7
triadic
#4748C7 #C74748 #48C747
tetradic
#4748C7 #C74788 #C7C647 #47C786
square
#4748C7 #C74788 #C7C647 #47C786
split-complementary
#4748C7 #C78647 #88C747
monochromatic
#222371 #3132A0 #4748C7 #7677D5 #A5A5E4

Accessibility & contrast

On white

6.95
#4748C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4748C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748C7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748C7#FFFFFF#000000##FFFFFF
##4748C71.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4748c7;
/* rgb */ color: rgb(71, 72, 199);
/* oklch */ color: oklch(48.2% 0.192 276.1);
Tailwind
colors: {
  custom: {
    50: '#897bd9',
    500: '#4748c7',
    950: '#000000',
  },
}
SCSS
$custom: #4748c7;
$custom-light: #897bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4748c7",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 239.531,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48153,
    "c": 0.19225,
    "h": 276.1
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#4748C7
secondary
#D1D099
accent
#DC4BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4748C7

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

Preview Lab → · Contrast checker → · Palette generator →

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