#4762BF#4762BF

#4762BF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.4% C 0.149 H 268.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4762BF
RGBrgb(71, 98, 191)
HSLhsl(227, 48%, 51%)
HSVhsv(227, 63%, 75%)
CMYKcmyk(62.8%, 48.7%, 0%, 25.1%)
CIE-LABlab(44.00, 19.57, -51.97)
CIE-LCHlch(44.00, 55.53, 290.63°)
OKLaboklab(52.43% -0.0034 -0.1487)
OKLCHoklch(52.43% 0.149 268.7)
XYZxyz(16.3670, 13.8351, 51.0880)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762BF #BFA447
analogous
#479EBF #4762BF #6847BF
triadic
#4762BF #BF4762 #62BF47
tetradic
#4762BF #BF479E #BFA447 #47BF68
square
#4762BF #BF479E #BFA447 #47BF68
split-complementary
#4762BF #BF6847 #9EBF47
monochromatic
#243368 #344A95 #4762BF #7489CF #A2AFDF

Accessibility & contrast

On white

5.57
#4762BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4762BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762BF#FFFFFF#000000##FFFFFF
##4762BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#1963BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4762bf;
/* rgb */ color: rgb(71, 98, 191);
/* oklch */ color: oklch(52.4% 0.149 268.7);
Tailwind
colors: {
  custom: {
    50: '#868ed3',
    500: '#4762bf',
    950: '#000000',
  },
}
SCSS
$custom: #4762bf;
$custom-light: #868ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4762bf",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 226.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.14877,
    "h": 268.7
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#4762BF
secondary
#CBBF96
accent
#B950D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4762BF

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

Preview Lab → · Contrast checker → · Palette generator →

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