#4762D8#4762D8

#4762D8 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.183 H 269.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4762D8
RGBrgb(71, 98, 216)
HSLhsl(229, 65%, 56%)
HSVhsv(229, 67%, 85%)
CMYKcmyk(67.1%, 54.6%, 0%, 15.3%)
CIE-LABlab(45.68, 28.32, -63.63)
CIE-LCHlch(45.68, 69.65, 294.00°)
OKLaboklab(54.24% -0.0013 -0.183)
OKLCHoklch(54.24% 0.183 269.6)
XYZxyz(19.3567, 15.0310, 66.8336)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762D8 #D8BD47
analogous
#47AAD8 #4762D8 #7547D8
triadic
#4762D8 #D84762 #62D847
tetradic
#4762D8 #D847AA #D8BD47 #47D875
square
#4762D8 #D847AA #D8BD47 #47D875
split-complementary
#4762D8 #D87547 #AAD847
monochromatic
#1D3188 #2743BA #4762D8 #798DE3 #ACB8ED

Accessibility & contrast

On white

5.24
#4762D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4762D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762D8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762D8#FFFFFF#000000##FFFFFF
##4762D81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4762d8;
/* rgb */ color: rgb(71, 98, 216);
/* oklch */ color: oklch(54.2% 0.183 269.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ee5',
    500: '#4762d8',
    950: '#000000',
  },
}
SCSS
$custom: #4762d8;
$custom-light: #8a8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4762d8",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 228.828,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.18304,
    "h": 269.6
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#4762D8
secondary
#DBD0A0
accent
#C940E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4762D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4762D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva