#4C5BBB#4C5BBB

#4C5BBB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.151 H 273.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4C5BBB
RGBrgb(76, 91, 187)
HSLhsl(232, 45%, 52%)
HSVhsv(232, 59%, 73%)
CMYKcmyk(59.4%, 51.3%, 0%, 26.7%)
CIE-LABlab(42.16, 23.57, -52.58)
CIE-LCHlch(42.16, 57.62, 294.15°)
OKLaboklab(51.04% 0.0084 -0.1505)
OKLCHoklch(51.04% 0.151 273.2)
XYZxyz(15.6883, 12.6053, 48.6104)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5BBB #BBAC4C
analogous
#4C93BB #4C5BBB #754CBB
triadic
#4C5BBB #BB4C5B #5BBB4C
tetradic
#4C5BBB #BB4C93 #BBAC4C #4CBB75
square
#4C5BBB #BB4C93 #BBAC4C #4CBB75
split-complementary
#4C5BBB #BB754C #93BB4C
monochromatic
#272F66 #384492 #4C5BBB #7884CC #A5ACDD

Accessibility & contrast

On white

5.96
#4C5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4C5BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5BBB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5BBB#FFFFFF#000000##FFFFFF
##4C5BBB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c5bbb;
/* rgb */ color: rgb(76, 91, 187);
/* oklch */ color: oklch(51.0% 0.151 273.2);
Tailwind
colors: {
  custom: {
    50: '#8889d0',
    500: '#4c5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #4c5bbb;
$custom-light: #8889d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5bbb",
  "rgb": {
    "r": 76,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 231.892,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.15073,
    "h": 273.2
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#4C5BBB
secondary
#CAC399
accent
#C353D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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