#4C5FBE#4C5FBE

#4C5FBE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.150 H 271.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4C5FBE
RGBrgb(76, 95, 190)
HSLhsl(230, 47%, 52%)
HSVhsv(230, 60%, 75%)
CMYKcmyk(60%, 50%, 0%, 25.5%)
CIE-LABlab(43.41, 22.06, -52.31)
CIE-LCHlch(43.41, 56.77, 292.86°)
OKLaboklab(52.05% 0.0046 -0.1496)
OKLCHoklch(52.05% 0.15 271.8)
XYZxyz(16.3639, 13.4373, 50.4365)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FBE #BEAB4C
analogous
#4C98BE #4C5FBE #724CBE
triadic
#4C5FBE #BE4C5F #5FBE4C
tetradic
#4C5FBE #BE4C98 #BEAB4C #4CBE72
square
#4C5FBE #BE4C98 #BEAB4C #4CBE72
split-complementary
#4C5FBE #BE724C #98BE4C
monochromatic
#263169 #374796 #4C5FBE #7987CE #A6AFDF

Accessibility & contrast

On white

5.69
#4C5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4C5FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FBE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FBE#FFFFFF#000000##FFFFFF
##4C5FBE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC1
Deuteranopia (green-blind)
#1562BC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c5fbe;
/* rgb */ color: rgb(76, 95, 190);
/* oklch */ color: oklch(52.0% 0.150 271.8);
Tailwind
colors: {
  custom: {
    50: '#888cd2',
    500: '#4c5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fbe;
$custom-light: #888cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fbe",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 230,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.14972,
    "h": 271.8
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#4C5FBE
secondary
#CCC39A
accent
#C051D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4C5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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