#4762BC#4762BC

#4762BC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.2% C 0.145 H 268.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4762BC
RGBrgb(71, 98, 188)
HSLhsl(226, 47%, 51%)
HSVhsv(226, 62%, 74%)
CMYKcmyk(62.2%, 47.9%, 0%, 26.3%)
CIE-LABlab(43.81, 18.52, -50.53)
CIE-LCHlch(43.81, 53.82, 290.13°)
OKLaboklab(52.23% -0.0038 -0.1445)
OKLCHoklch(52.23% 0.145 268.5)
XYZxyz(16.0402, 13.7044, 49.3671)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762BC #BCA147
analogous
#479CBC #4762BC #6647BC
triadic
#4762BC #BC4762 #62BC47
tetradic
#4762BC #BC479C #BCA147 #47BC66
square
#4762BC #BC479C #BCA147 #47BC66
split-complementary
#4762BC #BC6647 #9CBC47
monochromatic
#243364 #354A91 #4762BC #7488CC #A1AFDD

Accessibility & contrast

On white

5.61
#4762BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4762BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762BC#FFFFFF#000000##FFFFFF
##4762BC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#1F63BA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4762bc;
/* rgb */ color: rgb(71, 98, 188);
/* oklch */ color: oklch(52.2% 0.145 268.5);
Tailwind
colors: {
  custom: {
    50: '#858ed1',
    500: '#4762bc',
    950: '#000000',
  },
}
SCSS
$custom: #4762bc;
$custom-light: #858ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4762bc",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 226.154,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52229,
    "c": 0.14455,
    "h": 268.5
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#4762BC
secondary
#C9BD95
accent
#B852D6
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4762BC

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

Preview Lab → · Contrast checker → · Palette generator →

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