#4A62DC#4A62DC

#4A62DC is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.188 H 270.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4A62DC
RGBrgb(74, 98, 220)
HSLhsl(230, 68%, 58%)
HSVhsv(230, 66%, 86%)
CMYKcmyk(66.4%, 55.5%, 0%, 13.7%)
CIE-LABlab(46.12, 30.16, -65.18)
CIE-LCHlch(46.12, 71.82, 294.83°)
OKLaboklab(54.7% 0.0018 -0.1875)
OKLCHoklch(54.7% 0.188 270.6)
XYZxyz(20.1056, 15.3566, 69.6008)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62DC #DCC44A
analogous
#4AABDC #4A62DC #7B4ADC
triadic
#4A62DC #DC4A62 #62DC4A
tetradic
#4A62DC #DC4AAB #DCC44A #4ADC7B
square
#4A62DC #DC4AAB #DCC44A #4ADC7B
split-complementary
#4A62DC #DC7B4A #ABDC4A
monochromatic
#1C2F90 #2640C3 #4A62DC #7D8EE6 #B1BBF0

Accessibility & contrast

On white

5.16
#4A62DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4A62DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62DC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62DC#FFFFFF#000000##FFFFFF
##4A62DC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a62dc;
/* rgb */ color: rgb(74, 98, 220);
/* oklch */ color: oklch(54.7% 0.188 270.6);
Tailwind
colors: {
  custom: {
    50: '#8c8ee8',
    500: '#4a62dc',
    950: '#000000',
  },
}
SCSS
$custom: #4a62dc;
$custom-light: #8c8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62dc",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 230.137,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.18755,
    "h": 270.6
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#4A62DC
secondary
#DED5A4
accent
#CE3DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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