#4C62CD#4C62CD

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

Color values

HEX#4C62CD
RGBrgb(76, 98, 205)
HSLhsl(230, 56%, 55%)
HSVhsv(230, 63%, 80%)
CMYKcmyk(62.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.19, 25.30, -58.11)
CIE-LCHlch(45.19, 63.38, 293.53°)
OKLaboklab(53.71% 0.003 -0.1667)
OKLCHoklch(53.71% 0.167 271)
XYZxyz(18.3639, 14.6781, 59.6112)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C62CD #CDB74C
analogous
#4CA3CD #4C62CD #764CCD
triadic
#4C62CD #CD4C62 #62CD4C
tetradic
#4C62CD #CD4CA3 #CDB74C #4CCD76
square
#4C62CD #CD4CA3 #CDB74C #4CCD76
split-complementary
#4C62CD #CD764C #A3CD4C
monochromatic
#23327C #3045AC #4C62CD #7C8CDA #ACB6E8

Accessibility & contrast

On white

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

On black

3.94
#4C62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C62CD#FFFFFF#000000##FFFFFF
##4C62CD1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c62cd;
/* rgb */ color: rgb(76, 98, 205);
/* oklch */ color: oklch(53.7% 0.167 271.0);
Tailwind
colors: {
  custom: {
    50: '#8b8edd',
    500: '#4c62cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c62cd;
$custom-light: #8b8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c62cd",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 229.767,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.16672,
    "h": 271
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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