#4C5DCA#4C5DCA

#4C5DCA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.169 H 272.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4C5DCA
RGBrgb(76, 93, 202)
HSLhsl(232, 54%, 55%)
HSVhsv(232, 62%, 79%)
CMYKcmyk(62.4%, 54%, 0%, 20.8%)
CIE-LABlab(43.69, 27.43, -58.80)
CIE-LCHlch(43.69, 64.88, 295.00°)
OKLaboklab(52.52% 0.0075 -0.1688)
OKLCHoklch(52.52% 0.169 272.5)
XYZxyz(17.5520, 13.6280, 57.5712)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5DCA #CAB94C
analogous
#4C9CCA #4C5DCA #7A4CCA
triadic
#4C5DCA #CA4C5D #5DCA4C
tetradic
#4C5DCA #CA4C9C #CAB94C #4CCA7A
square
#4C5DCA #CA4C9C #CAB94C #4CCA7A
split-complementary
#4C5DCA #CA7A4C #9CCA4C
monochromatic
#242F78 #3241A7 #4C5DCA #7B88D8 #AAB2E6

Accessibility & contrast

On white

5.64
#4C5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4C5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5DCA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5DCA#FFFFFF#000000##FFFFFF
##4C5DCA1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106DCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c5dca;
/* rgb */ color: rgb(76, 93, 202);
/* oklch */ color: oklch(52.5% 0.169 272.5);
Tailwind
colors: {
  custom: {
    50: '#8a8adb',
    500: '#4c5dca',
    950: '#000000',
  },
}
SCSS
$custom: #4c5dca;
$custom-light: #8a8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5dca",
  "rgb": {
    "r": 76,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 231.905,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.16895,
    "h": 272.5
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#4C5DCA
secondary
#D4CC9E
accent
#CA4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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