#4758D5#4758D5

#4758D5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.191 H 272.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4758D5
RGBrgb(71, 88, 213)
HSLhsl(233, 63%, 56%)
HSVhsv(233, 67%, 84%)
CMYKcmyk(66.7%, 58.7%, 0%, 16.5%)
CIE-LABlab(42.95, 33.56, -66.35)
CIE-LCHlch(42.95, 74.36, 296.83°)
OKLaboklab(52.13% 0.0069 -0.1912)
OKLCHoklch(52.13% 0.191 272.1)
XYZxyz(18.0945, 13.1215, 64.5170)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758D5 #D5C447
analogous
#479FD5 #4758D5 #7D47D5
triadic
#4758D5 #D54758 #58D547
tetradic
#4758D5 #D5479F #D5C447 #47D57D
square
#4758D5 #D5479F #D5C447 #47D57D
split-complementary
#4758D5 #D57D47 #9FD547
monochromatic
#1E2A84 #293AB5 #4758D5 #7985E0 #ABB2EC

Accessibility & contrast

On white

5.79
#4758D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4758D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758D5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758D5#FFFFFF#000000##FFFFFF
##4758D51.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4758d5;
/* rgb */ color: rgb(71, 88, 213);
/* oklch */ color: oklch(52.1% 0.191 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a87e3',
    500: '#4758d5',
    950: '#000000',
  },
}
SCSS
$custom: #4758d5;
$custom-light: #8a87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4758d5",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 232.817,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.19129,
    "h": 272.1
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#4758D5
secondary
#D9D29E
accent
#D242E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4758D5

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

Preview Lab → · Contrast checker → · Palette generator →

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