#4962D4#4962D4

#4962D4 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.177 H 270.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4962D4
RGBrgb(73, 98, 212)
HSLhsl(229, 62%, 56%)
HSVhsv(229, 66%, 83%)
CMYKcmyk(65.6%, 53.8%, 0%, 16.9%)
CIE-LABlab(45.50, 27.23, -61.63)
CIE-LCHlch(45.50, 67.38, 293.84°)
OKLaboklab(54.05% 0.0005 -0.1771)
OKLCHoklch(54.05% 0.177 270.1)
XYZxyz(18.9950, 14.9036, 64.1502)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4962D4 #D4BB49
analogous
#49A7D4 #4962D4 #7549D4
triadic
#4962D4 #D44962 #62D449
tetradic
#4962D4 #D449A7 #D4BB49 #49D475
square
#4962D4 #D449A7 #D4BB49 #49D475
split-complementary
#4962D4 #D47549 #A7D449
monochromatic
#1F3184 #2B44B5 #4962D4 #7B8DE0 #ACB7EB

Accessibility & contrast

On white

5.28
#4962D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4962D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4962D4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4962D4#FFFFFF#000000##FFFFFF
##4962D41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C72D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4962d4;
/* rgb */ color: rgb(73, 98, 212);
/* oklch */ color: oklch(54.0% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a8ee2',
    500: '#4962d4',
    950: '#000000',
  },
}
SCSS
$custom: #4962d4;
$custom-light: #8a8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4962d4",
  "rgb": {
    "r": 73,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 229.209,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.1771,
    "h": 270.1
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#4962D4
secondary
#D9CFA0
accent
#C843E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4962D4

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

Preview Lab → · Contrast checker → · Palette generator →

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