#4C62C8#4C62C8

#4C62C8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.160 H 270.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4C62C8
RGBrgb(76, 98, 200)
HSLhsl(229, 53%, 54%)
HSVhsv(229, 62%, 78%)
CMYKcmyk(62%, 51%, 0%, 21.6%)
CIE-LABlab(44.86, 23.58, -55.77)
CIE-LCHlch(44.86, 60.55, 292.92°)
OKLaboklab(53.35% 0.0025 -0.1598)
OKLCHoklch(53.35% 0.16 270.9)
XYZxyz(17.7700, 14.4405, 56.4832)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C62C8 #C8B24C
analogous
#4CA0C8 #4C62C8 #744CC8
triadic
#4C62C8 #C84C62 #62C84C
tetradic
#4C62C8 #C84CA0 #C8B24C #4CC874
square
#4C62C8 #C84CA0 #C8B24C #4CC874
split-complementary
#4C62C8 #C8744C #A0C84C
monochromatic
#243375 #3247A4 #4C62C8 #7B8BD6 #AAB4E5

Accessibility & contrast

On white

5.40
#4C62C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4C62C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C62C8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C62C8#FFFFFF#000000##FFFFFF
##4C62C81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2870CC
Deuteranopia (green-blind)
#0065C6
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c62c8;
/* rgb */ color: rgb(76, 98, 200);
/* oklch */ color: oklch(53.3% 0.160 270.9);
Tailwind
colors: {
  custom: {
    50: '#8a8ed9',
    500: '#4c62c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c62c8;
$custom-light: #8a8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c62c8",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 229.355,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.15982,
    "h": 270.9
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#4C62C8
secondary
#D2C99E
accent
#C34BDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C62C8

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

Preview Lab → · Contrast checker → · Palette generator →

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