#4A62D8#4A62D8

#4A62D8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.182 H 270.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4A62D8
RGBrgb(74, 98, 216)
HSLhsl(230, 65%, 57%)
HSVhsv(230, 66%, 85%)
CMYKcmyk(65.7%, 54.6%, 0%, 15.3%)
CIE-LABlab(45.84, 28.78, -63.37)
CIE-LCHlch(45.84, 69.60, 294.43°)
OKLaboklab(54.4% 0.0017 -0.1822)
OKLCHoklch(54.4% 0.182 270.5)
XYZxyz(19.5822, 15.1473, 66.8442)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62D8 #D8C04A
analogous
#4AA9D8 #4A62D8 #794AD8
triadic
#4A62D8 #D84A62 #62D84A
tetradic
#4A62D8 #D84AA9 #D8C04A #4AD879
square
#4A62D8 #D84AA9 #D8C04A #4AD879
split-complementary
#4A62D8 #D8794A #A9D84A
monochromatic
#1E308A #2942BC #4A62D8 #7C8EE3 #AFB9EE

Accessibility & contrast

On white

5.21
#4A62D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4A62D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62D8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62D8#FFFFFF#000000##FFFFFF
##4A62D81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a62d8;
/* rgb */ color: rgb(74, 98, 216);
/* oklch */ color: oklch(54.4% 0.182 270.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ee5',
    500: '#4a62d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a62d8;
$custom-light: #8c8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62d8",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 229.859,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.18221,
    "h": 270.5
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#4A62D8
secondary
#DCD2A2
accent
#CB40E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A62D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4A62D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva