#4C62CC#4C62CC

#4C62CC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.165 H 271.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4C62CC
RGBrgb(76, 98, 204)
HSLhsl(230, 56%, 55%)
HSVhsv(230, 63%, 80%)
CMYKcmyk(62.7%, 52%, 0%, 20%)
CIE-LABlab(45.12, 24.96, -57.65)
CIE-LCHlch(45.12, 62.82, 293.41°)
OKLaboklab(53.63% 0.0029 -0.1653)
OKLCHoklch(53.63% 0.165 271)
XYZxyz(18.2436, 14.6299, 58.9775)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C62CC #CCB64C
analogous
#4CA2CC #4C62CC #764CCC
triadic
#4C62CC #CC4C62 #62CC4C
tetradic
#4C62CC #CC4CA2 #CCB64C #4CCC76
square
#4C62CC #CC4CA2 #CCB64C #4CCC76
split-complementary
#4C62CC #CC764C #A2CC4C
monochromatic
#23327B #3145AA #4C62CC #7C8CDA #ABB6E7

Accessibility & contrast

On white

5.35
#4C62CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C62CC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C62CC#FFFFFF#000000##FFFFFF
##4C62CC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c62cc;
/* rgb */ color: rgb(76, 98, 204);
/* oklch */ color: oklch(53.6% 0.165 271.0);
Tailwind
colors: {
  custom: {
    50: '#8a8edc',
    500: '#4c62cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c62cc;
$custom-light: #8a8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c62cc",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 229.688,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.16535,
    "h": 271
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#4C62CC
secondary
#D5CC9F
accent
#C549DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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