#4C5ACF#4C5ACF

#4C5ACF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.180 H 273.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4C5ACF
RGBrgb(76, 90, 207)
HSLhsl(234, 58%, 55%)
HSVhsv(234, 63%, 81%)
CMYKcmyk(63.3%, 56.5%, 0%, 18.8%)
CIE-LABlab(43.29, 31.02, -62.34)
CIE-LCHlch(43.29, 69.63, 296.45°)
OKLaboklab(52.33% 0.0105 -0.1792)
OKLCHoklch(52.33% 0.18 273.3)
XYZxyz(17.8954, 13.3523, 60.6536)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ACF #CFC14C
analogous
#4C9BCF #4C5ACF #7F4CCF
triadic
#4C5ACF #CF4C5A #5ACF4C
tetradic
#4C5ACF #CF4C9B #CFC14C #4CCF7F
square
#4C5ACF #CF4C9B #CFC14C #4CCF7F
split-complementary
#4C5ACF #CF7F4C #9BCF4C
monochromatic
#222C7F #2F3DAF #4C5ACF #7C86DC #ADB3E9

Accessibility & contrast

On white

5.72
#4C5ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4C5ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ACF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ACF#FFFFFF#000000##FFFFFF
##4C5ACF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c5acf;
/* rgb */ color: rgb(76, 90, 207);
/* oklch */ color: oklch(52.3% 0.180 273.3);
Tailwind
colors: {
  custom: {
    50: '#8b88de',
    500: '#4c5acf',
    950: '#000000',
  },
}
SCSS
$custom: #4c5acf;
$custom-light: #8b88de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5acf",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 233.588,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.17952,
    "h": 273.3
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#4C5ACF
secondary
#D7D1A0
accent
#D047E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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