#4757DA#4757DA

#4757DA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.199 H 272.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4757DA
RGBrgb(71, 87, 218)
HSLhsl(233, 67%, 57%)
HSVhsv(233, 67%, 85%)
CMYKcmyk(67.4%, 60.1%, 0%, 14.5%)
CIE-LABlab(43.09, 35.90, -68.98)
CIE-LCHlch(43.09, 77.76, 297.49°)
OKLaboklab(52.36% 0.0077 -0.1989)
OKLCHoklch(52.36% 0.199 272.2)
XYZxyz(18.6574, 13.2162, 67.8838)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757DA #DACA47
analogous
#47A1DA #4757DA #8047DA
triadic
#4757DA #DA4757 #57DA47
tetradic
#4757DA #DA47A1 #DACA47 #47DA80
square
#4757DA #DA47A1 #DACA47 #47DA80
split-complementary
#4757DA #DA8047 #A1DA47
monochromatic
#1C288B #2637BE #4757DA #7A86E4 #ADB4EE

Accessibility & contrast

On white

5.76
#4757DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4757DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757DA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757DA#FFFFFF#000000##FFFFFF
##4757DA1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4757da;
/* rgb */ color: rgb(71, 87, 218);
/* oklch */ color: oklch(52.4% 0.199 272.2);
Tailwind
colors: {
  custom: {
    50: '#8b86e6',
    500: '#4757da',
    950: '#000000',
  },
}
SCSS
$custom: #4757da;
$custom-light: #8b86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4757da",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 233.469,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.19904,
    "h": 272.2
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#4757DA
secondary
#DCD6A0
accent
#D73EE9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4757DA

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

Preview Lab → · Contrast checker → · Palette generator →

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