#4762D4#4762D4

#4762D4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.178 H 269.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4762D4
RGBrgb(71, 98, 212)
HSLhsl(229, 62%, 55%)
HSVhsv(229, 67%, 83%)
CMYKcmyk(66.5%, 53.8%, 0%, 16.9%)
CIE-LABlab(45.40, 26.92, -61.80)
CIE-LCHlch(45.40, 67.41, 293.54°)
OKLaboklab(53.94% -0.0015 -0.1777)
OKLCHoklch(53.94% 0.178 269.5)
XYZxyz(18.8458, 14.8267, 64.1432)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762D4 #D4B947
analogous
#47A8D4 #4762D4 #7347D4
triadic
#4762D4 #D44762 #62D447
tetradic
#4762D4 #D447A8 #D4B947 #47D473
square
#4762D4 #D447A8 #D4B947 #47D473
split-complementary
#4762D4 #D47347 #A8D447
monochromatic
#1E3282 #2A44B4 #4762D4 #798CE0 #AAB7EB

Accessibility & contrast

On white

5.30
#4762D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4762D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762D4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762D4#FFFFFF#000000##FFFFFF
##4762D41.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B72D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4762d4;
/* rgb */ color: rgb(71, 98, 212);
/* oklch */ color: oklch(53.9% 0.178 269.5);
Tailwind
colors: {
  custom: {
    50: '#898ee2',
    500: '#4762d4',
    950: '#000000',
  },
}
SCSS
$custom: #4762d4;
$custom-light: #898ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4762d4",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 228.511,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.17767,
    "h": 269.5
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4762D4

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

Preview Lab → · Contrast checker → · Palette generator →

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