#4A62CC#4A62CC

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

Color values

HEX#4A62CC
RGBrgb(74, 98, 204)
HSLhsl(229, 56%, 55%)
HSVhsv(229, 64%, 80%)
CMYKcmyk(63.7%, 52%, 0%, 20%)
CIE-LABlab(45.01, 24.62, -57.83)
CIE-LCHlch(45.01, 62.86, 293.06°)
OKLaboklab(53.52% 0.0009 -0.1659)
OKLCHoklch(53.52% 0.166 270.3)
XYZxyz(18.0871, 14.5493, 58.9702)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62CC #CCB44A
analogous
#4AA3CC #4A62CC #734ACC
triadic
#4A62CC #CC4A62 #62CC4A
tetradic
#4A62CC #CC4AA3 #CCB44A #4ACC73
square
#4A62CC #CC4AA3 #CCB44A #4ACC73
split-complementary
#4A62CC #CC734A #A3CC4A
monochromatic
#223279 #3046A9 #4A62CC #7A8BD9 #A9B5E7

Accessibility & contrast

On white

5.37
#4A62CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4A62CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62CC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62CC#FFFFFF#000000##FFFFFF
##4A62CC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a62cc;
/* rgb */ color: rgb(74, 98, 204);
/* oklch */ color: oklch(53.5% 0.166 270.3);
Tailwind
colors: {
  custom: {
    50: '#898edc',
    500: '#4a62cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a62cc;
$custom-light: #898edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62cc",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 228.923,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.16592,
    "h": 270.3
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#4A62CC
secondary
#D4CA9D
accent
#C348DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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