#4748CB#4748CB

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

Color values

HEX#4748CB
RGBrgb(71, 72, 203)
HSLhsl(240, 56%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(65%, 64.5%, 0%, 20.4%)
CIE-LABlab(38.35, 40.03, -68.09)
CIE-LCHlch(38.35, 78.99, 300.45°)
OKLaboklab(48.5% 0.02 -0.1964)
OKLCHoklch(48.5% 0.197 275.8)
XYZxyz(15.6919, 10.2848, 57.6466)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748CB #CBCA47
analogous
#478ACB #4748CB #8847CB
triadic
#4748CB #CB4748 #48CB47
tetradic
#4748CB #CB478A #CBCA47 #47CB88
square
#4748CB #CB478A #CBCA47 #47CB88
split-complementary
#4748CB #CB8847 #8ACB47
monochromatic
#212276 #2F30A6 #4748CB #7777D8 #A6A7E6

Accessibility & contrast

On white

6.87
#4748CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4748CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748CB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748CB#FFFFFF#000000##FFFFFF
##4748CB1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4748cb;
/* rgb */ color: rgb(71, 72, 203);
/* oklch */ color: oklch(48.5% 0.197 275.8);
Tailwind
colors: {
  custom: {
    50: '#897bdc',
    500: '#4748cb',
    950: '#000000',
  },
}
SCSS
$custom: #4748cb;
$custom-light: #897bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4748cb",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 239.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.485,
    "c": 0.19739,
    "h": 275.8
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#4748CB
secondary
#D3D39B
accent
#DE49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4748CB

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

Preview Lab → · Contrast checker → · Palette generator →

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