#4762D5#4762D5

#4762D5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.179 H 269.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4762D5
RGBrgb(71, 98, 213)
HSLhsl(229, 63%, 56%)
HSVhsv(229, 67%, 84%)
CMYKcmyk(66.7%, 54%, 0%, 16.5%)
CIE-LABlab(45.47, 27.27, -62.26)
CIE-LCHlch(45.47, 67.97, 293.66°)
OKLaboklab(54.02% -0.0014 -0.179)
OKLCHoklch(54.02% 0.179 269.5)
XYZxyz(18.9724, 14.8773, 64.8096)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762D5 #D5BA47
analogous
#47A9D5 #4762D5 #7347D5
triadic
#4762D5 #D54762 #62D547
tetradic
#4762D5 #D547A9 #D5BA47 #47D573
square
#4762D5 #D547A9 #D5BA47 #47D573
split-complementary
#4762D5 #D57347 #A9D547
monochromatic
#1E3184 #2944B5 #4762D5 #798DE0 #ABB7EC

Accessibility & contrast

On white

5.28
#4762D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4762D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762D5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762D5#FFFFFF#000000##FFFFFF
##4762D51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0672D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4762d5;
/* rgb */ color: rgb(71, 98, 213);
/* oklch */ color: oklch(54.0% 0.179 269.5);
Tailwind
colors: {
  custom: {
    50: '#8a8ee3',
    500: '#4762d5',
    950: '#000000',
  },
}
SCSS
$custom: #4762d5;
$custom-light: #8a8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4762d5",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 228.592,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.17902,
    "h": 269.5
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#4762D5
secondary
#D9CE9E
accent
#C742E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4762D5

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

Preview Lab → · Contrast checker → · Palette generator →

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