#4A62D9#4A62D9

#4A62D9 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.184 H 270.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4A62D9
RGBrgb(74, 98, 217)
HSLhsl(230, 65%, 57%)
HSVhsv(230, 66%, 85%)
CMYKcmyk(65.9%, 54.8%, 0%, 14.9%)
CIE-LABlab(45.91, 29.13, -63.82)
CIE-LCHlch(45.91, 70.15, 294.53°)
OKLaboklab(54.48% 0.0017 -0.1835)
OKLCHoklch(54.48% 0.184 270.5)
XYZxyz(19.7119, 15.1991, 67.5271)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62D9 #D9C14A
analogous
#4AAAD9 #4A62D9 #7A4AD9
triadic
#4A62D9 #D94A62 #62D94A
tetradic
#4A62D9 #D94AAA #D9C14A #4AD97A
square
#4A62D9 #D94AAA #D9C14A #4AD97A
split-complementary
#4A62D9 #D97A4A #AAD94A
monochromatic
#1D308B #2841BE #4A62D9 #7D8EE4 #AFBAEE

Accessibility & contrast

On white

5.20
#4A62D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4A62D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62D9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62D9#FFFFFF#000000##FFFFFF
##4A62D91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a62d9;
/* rgb */ color: rgb(74, 98, 217);
/* oklch */ color: oklch(54.5% 0.184 270.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ee6',
    500: '#4a62d9',
    950: '#000000',
  },
}
SCSS
$custom: #4a62d9;
$custom-light: #8c8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62d9",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 229.93,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.18355,
    "h": 270.5
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#4A62D9
secondary
#DCD3A2
accent
#CC40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A62D9

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

Preview Lab → · Contrast checker → · Palette generator →

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