#4748CF#4748CF

#4748CF is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.9% C 0.203 H 275.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4748CF
RGBrgb(71, 72, 207)
HSLhsl(240, 59%, 55%)
HSVhsv(240, 66%, 81%)
CMYKcmyk(65.7%, 65.2%, 0%, 18.8%)
CIE-LABlab(38.69, 41.36, -69.85)
CIE-LCHlch(38.69, 81.18, 300.63°)
OKLaboklab(48.85% 0.0196 -0.2015)
OKLCHoklch(48.85% 0.203 275.6)
XYZxyz(16.1747, 10.4779, 60.1894)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748CF #CFCE47
analogous
#478CCF #4748CF #8A47CF
triadic
#4748CF #CF4748 #48CF47
tetradic
#4748CF #CF478C #CFCE47 #47CF8A
square
#4748CF #CF478C #CFCE47 #47CF8A
split-complementary
#4748CF #CF8A47 #8CCF47
monochromatic
#20217B #2D2EAC #4748CF #7878DC #A8A9E8

Accessibility & contrast

On white

6.78
#4748CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4748CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748CF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748CF#FFFFFF#000000##FFFFFF
##4748CF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4748cf;
/* rgb */ color: rgb(71, 72, 207);
/* oklch */ color: oklch(48.9% 0.203 275.6);
Tailwind
colors: {
  custom: {
    50: '#8a7bdf',
    500: '#4748cf',
    950: '#000000',
  },
}
SCSS
$custom: #4748cf;
$custom-light: #8a7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4748cf",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 239.559,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.2025,
    "h": 275.6
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#4748CF
secondary
#D6D59C
accent
#E146E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4748CF

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

Preview Lab → · Contrast checker → · Palette generator →

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