#4A5DCC#4A5DCC

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

Color values

HEX#4A5DCC
RGBrgb(74, 93, 204)
HSLhsl(231, 56%, 55%)
HSVhsv(231, 64%, 80%)
CMYKcmyk(63.7%, 54.4%, 0%, 20%)
CIE-LABlab(43.72, 27.77, -59.93)
CIE-LCHlch(43.72, 66.05, 294.87°)
OKLaboklab(52.54% 0.0055 -0.1721)
OKLCHoklch(52.54% 0.172 271.8)
XYZxyz(17.6338, 13.6426, 58.8191)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5DCC #CCB94A
analogous
#4A9ECC #4A5DCC #784ACC
triadic
#4A5DCC #CC4A5D #5DCC4A
tetradic
#4A5DCC #CC4A9E #CCB94A #4ACC78
square
#4A5DCC #CC4A9E #CCB94A #4ACC78
split-complementary
#4A5DCC #CC784A #9ECC4A
monochromatic
#222F79 #3041A9 #4A5DCC #7A88D9 #A9B2E7

Accessibility & contrast

On white

5.63
#4A5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A5DCC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5DCC#FFFFFF#000000##FFFFFF
##4A5DCC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066DD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a5dcc;
/* rgb */ color: rgb(74, 93, 204);
/* oklch */ color: oklch(52.5% 0.172 271.8);
Tailwind
colors: {
  custom: {
    50: '#8a8adc',
    500: '#4a5dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4a5dcc;
$custom-light: #8a8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5dcc",
  "rgb": {
    "r": 74,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 231.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.17223,
    "h": 271.8
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#4A5DCC
secondary
#D4CC9D
accent
#C948DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A5DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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