#4748BD#4748BD

#4748BD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.179 H 276.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4748BD
RGBrgb(71, 72, 189)
HSLhsl(239, 47%, 51%)
HSVhsv(239, 62%, 74%)
CMYKcmyk(62.4%, 61.9%, 0%, 25.9%)
CIE-LABlab(37.20, 35.36, -61.80)
CIE-LCHlch(37.20, 71.20, 299.77°)
OKLaboklab(47.31% 0.021 -0.1779)
OKLCHoklch(47.31% 0.179 276.7)
XYZxyz(14.0982, 9.6473, 49.2534)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748BD #BDBC47
analogous
#4783BD #4748BD #8147BD
triadic
#4748BD #BD4748 #48BD47
tetradic
#4748BD #BD4783 #BDBC47 #47BD81
square
#4748BD #BD4783 #BDBC47 #47BD81
split-complementary
#4748BD #BD8147 #83BD47
monochromatic
#242565 #343592 #4748BD #7475CD #A1A2DD

Accessibility & contrast

On white

7.17
#4748BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4748BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4748BD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748BD#FFFFFF#000000##FFFFFF
##4748BD1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4748bd;
/* rgb */ color: rgb(71, 72, 189);
/* oklch */ color: oklch(47.3% 0.179 276.7);
Tailwind
colors: {
  custom: {
    50: '#877bd2',
    500: '#4748bd',
    950: '#000000',
  },
}
SCSS
$custom: #4748bd;
$custom-light: #877bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4748bd",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 239.492,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.17915,
    "h": 276.7
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#4748BD
secondary
#CACA96
accent
#D651D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4748BD

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

Preview Lab → · Contrast checker → · Palette generator →

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