#4760D4#4760D4

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

Color values

HEX#4760D4
RGBrgb(71, 96, 212)
HSLhsl(229, 62%, 55%)
HSVhsv(229, 67%, 83%)
CMYKcmyk(66.5%, 54.7%, 0%, 16.9%)
CIE-LABlab(44.88, 28.18, -62.64)
CIE-LCHlch(44.88, 68.69, 294.23°)
OKLaboklab(53.55% 0.0002 -0.1801)
OKLCHoklch(53.55% 0.18 270.1)
XYZxyz(18.6610, 14.4571, 64.0816)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4760D4 #D4BB47
analogous
#47A6D4 #4760D4 #7447D4
triadic
#4760D4 #D44760 #60D447
tetradic
#4760D4 #D447A6 #D4BB47 #47D474
square
#4760D4 #D447A6 #D4BB47 #47D474
split-complementary
#4760D4 #D47447 #A6D447
monochromatic
#1E3082 #2A42B4 #4760D4 #798BE0 #AAB6EB

Accessibility & contrast

On white

5.40
#4760D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4760D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4760D4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4760D4#FFFFFF#000000##FFFFFF
##4760D41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4760d4;
/* rgb */ color: rgb(71, 96, 212);
/* oklch */ color: oklch(53.6% 0.180 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a8ce2',
    500: '#4760d4',
    950: '#000000',
  },
}
SCSS
$custom: #4760d4;
$custom-light: #8a8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4760d4",
  "rgb": {
    "r": 71,
    "g": 96,
    "b": 212
  },
  "hsl": {
    "h": 229.362,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.18014,
    "h": 270.1
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#4760D4
secondary
#D9CE9E
accent
#C843E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4760D4

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

Preview Lab → · Contrast checker → · Palette generator →

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