#4758D6#4758D6

#4758D6 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.193 H 272.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4758D6
RGBrgb(71, 88, 214)
HSLhsl(233, 64%, 56%)
HSVhsv(233, 67%, 84%)
CMYKcmyk(66.8%, 58.9%, 0%, 16.1%)
CIE-LABlab(43.02, 33.90, -66.80)
CIE-LCHlch(43.02, 74.91, 296.91°)
OKLaboklab(52.21% 0.0069 -0.1925)
OKLCHoklch(52.21% 0.193 272.1)
XYZxyz(18.2218, 13.1724, 65.1875)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758D6 #D6C547
analogous
#479FD6 #4758D6 #7D47D6
triadic
#4758D6 #D64758 #58D647
tetradic
#4758D6 #D6479F #D6C547 #47D67D
square
#4758D6 #D6479F #D6C547 #47D67D
split-complementary
#4758D6 #D67D47 #9FD647
monochromatic
#1E2A85 #293AB7 #4758D6 #7985E1 #ABB3EC

Accessibility & contrast

On white

5.78
#4758D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4758D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758D6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758D6#FFFFFF#000000##FFFFFF
##4758D61.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4758d6;
/* rgb */ color: rgb(71, 88, 214);
/* oklch */ color: oklch(52.2% 0.193 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a87e4',
    500: '#4758d6',
    950: '#000000',
  },
}
SCSS
$custom: #4758d6;
$custom-light: #8a87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4758d6",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 214
  },
  "hsl": {
    "h": 232.867,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.1926,
    "h": 272.1
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#4758D6
secondary
#DAD39F
accent
#D341E7
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4758D6

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

Preview Lab → · Contrast checker → · Palette generator →

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