#4C62CF#4C62CF

#4C62CF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.169 H 271.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C62CF
RGBrgb(76, 98, 207)
HSLhsl(230, 58%, 55%)
HSVhsv(230, 63%, 81%)
CMYKcmyk(63.3%, 52.7%, 0%, 18.8%)
CIE-LABlab(45.32, 25.99, -59.04)
CIE-LCHlch(45.32, 64.51, 293.76°)
OKLaboklab(53.85% 0.0031 -0.1694)
OKLCHoklch(53.85% 0.169 271.1)
XYZxyz(18.6069, 14.7752, 60.8907)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C62CF #CFB94C
analogous
#4CA3CF #4C62CF #784CCF
triadic
#4C62CF #CF4C62 #62CF4C
tetradic
#4C62CF #CF4CA3 #CFB94C #4CCF78
square
#4C62CF #CF4CA3 #CFB94C #4CCF78
split-complementary
#4C62CF #CF784C #A3CF4C
monochromatic
#22327F #2F44AF #4C62CF #7C8CDC #ADB7E9

Accessibility & contrast

On white

5.31
#4C62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4C62CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C62CF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C62CF#FFFFFF#000000##FFFFFF
##4C62CF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c62cf;
/* rgb */ color: rgb(76, 98, 207);
/* oklch */ color: oklch(53.9% 0.169 271.1);
Tailwind
colors: {
  custom: {
    50: '#8b8ede',
    500: '#4c62cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c62cf;
$custom-light: #8b8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4c62cf",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 229.924,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.16946,
    "h": 271.1
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#4C62CF
secondary
#D7CEA0
accent
#C747E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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