#4760D5#4760D5

#4760D5 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.181 H 270.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4760D5
RGBrgb(71, 96, 213)
HSLhsl(229, 63%, 56%)
HSVhsv(229, 67%, 84%)
CMYKcmyk(66.7%, 54.9%, 0%, 16.5%)
CIE-LABlab(44.95, 28.53, -63.09)
CIE-LCHlch(44.95, 69.25, 294.33°)
OKLaboklab(53.63% 0.0003 -0.1815)
OKLCHoklch(53.63% 0.181 270.1)
XYZxyz(18.7876, 14.5077, 64.7480)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4760D5 #D5BC47
analogous
#47A7D5 #4760D5 #7547D5
triadic
#4760D5 #D54760 #60D547
tetradic
#4760D5 #D547A7 #D5BC47 #47D575
square
#4760D5 #D547A7 #D5BC47 #47D575
split-complementary
#4760D5 #D57547 #A7D547
monochromatic
#1E3084 #2942B5 #4760D5 #798BE0 #ABB6EC

Accessibility & contrast

On white

5.38
#4760D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4760D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4760D5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4760D5#FFFFFF#000000##FFFFFF
##4760D51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4760d5;
/* rgb */ color: rgb(71, 96, 213);
/* oklch */ color: oklch(53.6% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a8ce3',
    500: '#4760d5',
    950: '#000000',
  },
}
SCSS
$custom: #4760d5;
$custom-light: #8a8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4760d5",
  "rgb": {
    "r": 71,
    "g": 96,
    "b": 213
  },
  "hsl": {
    "h": 229.437,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.18148,
    "h": 270.1
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#4760D5
secondary
#D9CF9E
accent
#C942E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4760D5

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

Preview Lab → · Contrast checker → · Palette generator →

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