#4962D8#4962D8

#4962D8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.182 H 270.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4962D8
RGBrgb(73, 98, 216)
HSLhsl(230, 65%, 57%)
HSVhsv(230, 66%, 85%)
CMYKcmyk(66.2%, 54.6%, 0%, 15.3%)
CIE-LABlab(45.78, 28.63, -63.46)
CIE-LCHlch(45.78, 69.61, 294.28°)
OKLaboklab(54.35% 0.0007 -0.1825)
OKLCHoklch(54.35% 0.182 270.2)
XYZxyz(19.5058, 15.1079, 66.8406)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4962D8 #D8BF49
analogous
#49AAD8 #4962D8 #7749D8
triadic
#4962D8 #D84962 #62D849
tetradic
#4962D8 #D849AA #D8BF49 #49D877
square
#4962D8 #D849AA #D8BF49 #49D877
split-complementary
#4962D8 #D87749 #AAD849
monochromatic
#1D3089 #2842BC #4962D8 #7B8DE3 #AEB9EE

Accessibility & contrast

On white

5.22
#4962D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4962D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4962D8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4962D8#FFFFFF#000000##FFFFFF
##4962D81.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4962d8;
/* rgb */ color: rgb(73, 98, 216);
/* oklch */ color: oklch(54.3% 0.182 270.2);
Tailwind
colors: {
  custom: {
    50: '#8b8ee5',
    500: '#4962d8',
    950: '#000000',
  },
}
SCSS
$custom: #4962d8;
$custom-light: #8b8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4962d8",
  "rgb": {
    "r": 73,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 229.51,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.18248,
    "h": 270.2
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#4962D8
secondary
#DCD1A1
accent
#CA40E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4962D8

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

Preview Lab → · Contrast checker → · Palette generator →

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