#4C5FA2#4C5FA2

#4C5FA2 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.2% C 0.109 H 270.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4C5FA2
RGBrgb(76, 95, 162)
HSLhsl(227, 36%, 47%)
HSVhsv(227, 53%, 64%)
CMYKcmyk(53.1%, 41.4%, 0%, 36.5%)
CIE-LABlab(41.73, 12.62, -38.55)
CIE-LCHlch(41.73, 40.56, 288.12°)
OKLaboklab(50.22% 0.0003 -0.1093)
OKLCHoklch(50.22% 0.109 270.2)
XYZxyz(13.5922, 12.3286, 35.8388)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FA2 #A28F4C
analogous
#4C8AA2 #4C5FA2 #644CA2
triadic
#4C5FA2 #A24C5F #5FA24C
tetradic
#4C5FA2 #A24C8A #A28F4C #4CA264
square
#4C5FA2 #A24C8A #A28F4C #4CA264
split-complementary
#4C5FA2 #A2644C #8AA24C
monochromatic
#252E4F #384778 #4C5FA2 #7080BC #99A5CF

Accessibility & contrast

On white

6.06
#4C5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4C5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FA2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FA2#FFFFFF#000000##FFFFFF
##4C5FA21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A5
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#246D78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c5fa2;
/* rgb */ color: rgb(76, 95, 162);
/* oklch */ color: oklch(50.2% 0.109 270.2);
Tailwind
colors: {
  custom: {
    50: '#848cbe',
    500: '#4c5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fa2;
$custom-light: #848cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fa2",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 226.744,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.10926,
    "h": 270.2
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#4C5FA2
secondary
#BCB28E
accent
#B35CCC
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4C5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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