#4762BA#4762BA

#4762BA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.142 H 268.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4762BA
RGBrgb(71, 98, 186)
HSLhsl(226, 45%, 50%)
HSVhsv(226, 62%, 73%)
CMYKcmyk(61.8%, 47.3%, 0%, 27.1%)
CIE-LABlab(43.68, 17.83, -49.57)
CIE-LCHlch(43.68, 52.68, 289.78°)
OKLaboklab(52.09% -0.0041 -0.1417)
OKLCHoklch(52.09% 0.142 268.3)
XYZxyz(15.8261, 13.6188, 48.2395)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762BA #BA9F47
analogous
#479CBA #4762BA #6547BA
triadic
#4762BA #BA4762 #62BA47
tetradic
#4762BA #BA479C #BA9F47 #47BA65
square
#4762BA #BA479C #BA9F47 #47BA65
split-complementary
#4762BA #BA6547 #9CBA47
monochromatic
#253362 #354A8E #4762BA #7488CB #A0AEDB

Accessibility & contrast

On white

5.64
#4762BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4762BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762BA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762BA#FFFFFF#000000##FFFFFF
##4762BA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4762ba;
/* rgb */ color: rgb(71, 98, 186);
/* oklch */ color: oklch(52.1% 0.142 268.3);
Tailwind
colors: {
  custom: {
    50: '#858ecf',
    500: '#4762ba',
    950: '#000000',
  },
}
SCSS
$custom: #4762ba;
$custom-light: #858ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#4762ba",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 225.913,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.14173,
    "h": 268.3
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#4762BA
secondary
#C8BC95
accent
#B753D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4762BA

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

Preview Lab → · Contrast checker → · Palette generator →

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