#4A62CE#4A62CE

#4A62CE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.169 H 270.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4A62CE
RGBrgb(74, 98, 206)
HSLhsl(229, 57%, 55%)
HSVhsv(229, 64%, 81%)
CMYKcmyk(64.1%, 52.4%, 0%, 19.2%)
CIE-LABlab(45.15, 25.31, -58.77)
CIE-LCHlch(45.15, 63.98, 293.30°)
OKLaboklab(53.66% 0.001 -0.1687)
OKLCHoklch(53.66% 0.169 270.3)
XYZxyz(18.3285, 14.6458, 60.2416)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62CE #CEB64A
analogous
#4AA4CE #4A62CE #744ACE
triadic
#4A62CE #CE4A62 #62CE4A
tetradic
#4A62CE #CE4AA4 #CEB64A #4ACE74
square
#4A62CE #CE4AA4 #CEB64A #4ACE74
split-complementary
#4A62CE #CE744A #A4CE4A
monochromatic
#22327C #2F45AC #4A62CE #7A8CDB #AAB6E8

Accessibility & contrast

On white

5.34
#4A62CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4A62CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62CE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62CE#FFFFFF#000000##FFFFFF
##4A62CE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a62ce;
/* rgb */ color: rgb(74, 98, 206);
/* oklch */ color: oklch(53.7% 0.169 270.3);
Tailwind
colors: {
  custom: {
    50: '#8a8ede',
    500: '#4a62ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a62ce;
$custom-light: #8a8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62ce",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 229.091,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53664,
    "c": 0.16866,
    "h": 270.3
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#4A62CE
secondary
#D6CC9E
accent
#C547E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A62CE

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

Preview Lab → · Contrast checker → · Palette generator →

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