#4757D6#4757D6

#4757D6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.194 H 272.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4757D6
RGBrgb(71, 87, 214)
HSLhsl(233, 64%, 56%)
HSVhsv(233, 67%, 84%)
CMYKcmyk(66.8%, 59.3%, 0%, 16.1%)
CIE-LABlab(42.78, 34.53, -67.20)
CIE-LCHlch(42.78, 75.55, 297.19°)
OKLaboklab(52.03% 0.0077 -0.1937)
OKLCHoklch(52.03% 0.194 272.3)
XYZxyz(18.1403, 13.0093, 65.1604)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757D6 #D6C647
analogous
#479ED6 #4757D6 #7E47D6
triadic
#4757D6 #D64757 #57D647
tetradic
#4757D6 #D6479E #D6C647 #47D67E
square
#4757D6 #D6479E #D6C647 #47D67E
split-complementary
#4757D6 #D67E47 #9ED647
monochromatic
#1E2985 #2939B7 #4757D6 #7985E1 #ABB2EC

Accessibility & contrast

On white

5.83
#4757D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4757D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757D6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757D6#FFFFFF#000000##FFFFFF
##4757D61.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4757d6;
/* rgb */ color: rgb(71, 87, 214);
/* oklch */ color: oklch(52.0% 0.194 272.3);
Tailwind
colors: {
  custom: {
    50: '#8b86e4',
    500: '#4757d6',
    950: '#000000',
  },
}
SCSS
$custom: #4757d6;
$custom-light: #8b86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4757d6",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 233.287,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.19381,
    "h": 272.3
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4757D6

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

Preview Lab → · Contrast checker → · Palette generator →

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