#4762CE#4762CE

#4762CE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.170 H 269.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4762CE
RGBrgb(71, 98, 206)
HSLhsl(228, 58%, 54%)
HSVhsv(228, 66%, 81%)
CMYKcmyk(65.5%, 52.4%, 0%, 19.2%)
CIE-LABlab(44.98, 24.82, -59.04)
CIE-LCHlch(44.98, 64.04, 292.80°)
OKLaboklab(53.5% -0.0019 -0.1695)
OKLCHoklch(53.5% 0.17 269.3)
XYZxyz(18.1030, 14.5295, 60.2310)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762CE #CEB347
analogous
#47A6CE #4762CE #7047CE
triadic
#4762CE #CE4762 #62CE47
tetradic
#4762CE #CE47A6 #CEB347 #47CE70
square
#4762CE #CE47A6 #CEB347 #47CE70
split-complementary
#4762CE #CE7047 #A6CE47
monochromatic
#21327A #2D46AA #4762CE #778BDB #A8B4E8

Accessibility & contrast

On white

5.38
#4762CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4762CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762CE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762CE#FFFFFF#000000##FFFFFF
##4762CE1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4762ce;
/* rgb */ color: rgb(71, 98, 206);
/* oklch */ color: oklch(53.5% 0.170 269.3);
Tailwind
colors: {
  custom: {
    50: '#888ede',
    500: '#4762ce',
    950: '#000000',
  },
}
SCSS
$custom: #4762ce;
$custom-light: #888ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4762ce",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 228,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.16953,
    "h": 269.3
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#4762CE
secondary
#D5CA9C
accent
#C247E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4762CE

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

Preview Lab → · Contrast checker → · Palette generator →

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