#4748CC#4748CC

#4748CC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.199 H 275.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4748CC
RGBrgb(71, 72, 204)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(65.2%, 64.7%, 0%, 20%)
CIE-LABlab(38.43, 40.36, -68.53)
CIE-LCHlch(38.43, 79.54, 300.50°)
OKLaboklab(48.59% 0.0199 -0.1977)
OKLCHoklch(48.59% 0.199 275.8)
XYZxyz(15.8114, 10.3326, 58.2762)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748CC #CCCB47
analogous
#478BCC #4748CC #8947CC
triadic
#4748CC #CC4748 #48CC47
tetradic
#4748CC #CC478B #CCCB47 #47CC89
square
#4748CC #CC478B #CCCB47 #47CC89
split-complementary
#4748CC #CC8947 #8BCC47
monochromatic
#212277 #2E2FA7 #4748CC #7778D9 #A7A7E7

Accessibility & contrast

On white

6.85
#4748CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4748CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748CC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748CC#FFFFFF#000000##FFFFFF
##4748CC1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4748cc;
/* rgb */ color: rgb(71, 72, 204);
/* oklch */ color: oklch(48.6% 0.199 275.8);
Tailwind
colors: {
  custom: {
    50: '#8a7bdd',
    500: '#4748cc',
    950: '#000000',
  },
}
SCSS
$custom: #4748cc;
$custom-light: #8a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4748cc",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 239.549,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.19868,
    "h": 275.8
  },
  "luminance": 0.10334
}

Semantic roles & 50–950 ramp

primary
#4748CC
secondary
#D4D39B
accent
#DF48E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4748CC

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

Preview Lab → · Contrast checker → · Palette generator →

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