#4962DC#4962DC

#4962DC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.188 H 270.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4962DC
RGBrgb(73, 98, 220)
HSLhsl(230, 68%, 57%)
HSVhsv(230, 67%, 86%)
CMYKcmyk(66.8%, 55.5%, 0%, 13.7%)
CIE-LABlab(46.07, 30.02, -65.27)
CIE-LCHlch(46.07, 71.84, 294.69°)
OKLaboklab(54.65% 0.0009 -0.1878)
OKLCHoklch(54.65% 0.188 270.3)
XYZxyz(20.0292, 15.3173, 69.5973)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4962DC #DCC349
analogous
#49ABDC #4962DC #7A49DC
triadic
#4962DC #DC4962 #62DC49
tetradic
#4962DC #DC49AB #DCC349 #49DC7A
square
#4962DC #DC49AB #DCC349 #49DC7A
split-complementary
#4962DC #DC7A49 #ABDC49
monochromatic
#1C2F8F #2540C2 #4962DC #7C8EE6 #B0BBF0

Accessibility & contrast

On white

5.17
#4962DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4962DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4962DC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4962DC#FFFFFF#000000##FFFFFF
##4962DC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4962dc;
/* rgb */ color: rgb(73, 98, 220);
/* oklch */ color: oklch(54.6% 0.188 270.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ee8',
    500: '#4962dc',
    950: '#000000',
  },
}
SCSS
$custom: #4962dc;
$custom-light: #8c8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4962dc",
  "rgb": {
    "r": 73,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 229.796,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5465,
    "c": 0.18782,
    "h": 270.3
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#4962DC
secondary
#DED4A3
accent
#CD3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4962DC

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

Preview Lab → · Contrast checker → · Palette generator →

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