#4748CD#4748CD

#4748CD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.200 H 275.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4748CD
RGBrgb(71, 72, 205)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(65.4%, 64.9%, 0%, 19.6%)
CIE-LABlab(38.52, 40.70, -68.97)
CIE-LCHlch(38.52, 80.08, 300.54°)
OKLaboklab(48.67% 0.0198 -0.199)
OKLCHoklch(48.67% 0.2 275.7)
XYZxyz(15.9317, 10.3807, 58.9099)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748CD #CDCC47
analogous
#478BCD #4748CD #8947CD
triadic
#4748CD #CD4748 #48CD47
tetradic
#4748CD #CD478B #CDCC47 #47CD89
square
#4748CD #CD478B #CDCC47 #47CD89
split-complementary
#4748CD #CD8947 #8BCD47
monochromatic
#212179 #2E2FA9 #4748CD #7778DA #A7A8E7

Accessibility & contrast

On white

6.83
#4748CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4748CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748CD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748CD#FFFFFF#000000##FFFFFF
##4748CD1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4748cd;
/* rgb */ color: rgb(71, 72, 205);
/* oklch */ color: oklch(48.7% 0.200 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a7bdd',
    500: '#4748cd',
    950: '#000000',
  },
}
SCSS
$custom: #4748cd;
$custom-light: #8a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4748cd",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 239.552,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.19995,
    "h": 275.7
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#4748CD
secondary
#D4D49B
accent
#DF47E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4748CD

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

Preview Lab → · Contrast checker → · Palette generator →

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