#4758D8#4758D8

#4758D8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.195 H 272.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4758D8
RGBrgb(71, 88, 216)
HSLhsl(233, 65%, 56%)
HSVhsv(233, 67%, 85%)
CMYKcmyk(67.1%, 59.3%, 0%, 15.3%)
CIE-LABlab(43.17, 34.59, -67.70)
CIE-LCHlch(43.17, 76.02, 297.07°)
OKLaboklab(52.37% 0.0069 -0.1951)
OKLCHoklch(52.37% 0.195 272)
XYZxyz(18.4788, 13.2752, 66.5410)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758D8 #D8C747
analogous
#47A0D8 #4758D8 #7F47D8
triadic
#4758D8 #D84758 #58D847
tetradic
#4758D8 #D847A0 #D8C747 #47D87F
square
#4758D8 #D847A0 #D8C747 #47D87F
split-complementary
#4758D8 #D87F47 #A0D847
monochromatic
#1D2988 #2739BA #4758D8 #7986E3 #ACB4ED

Accessibility & contrast

On white

5.74
#4758D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4758D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758D8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758D8#FFFFFF#000000##FFFFFF
##4758D81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4758d8;
/* rgb */ color: rgb(71, 88, 216);
/* oklch */ color: oklch(52.4% 0.195 272.0);
Tailwind
colors: {
  custom: {
    50: '#8b87e5',
    500: '#4758d8',
    950: '#000000',
  },
}
SCSS
$custom: #4758d8;
$custom-light: #8b87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4758d8",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 232.966,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.19523,
    "h": 272
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#4758D8
secondary
#DBD4A0
accent
#D440E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4758D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4758D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva