#4C5FBF#4C5FBF

#4C5FBF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.151 H 271.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4C5FBF
RGBrgb(76, 95, 191)
HSLhsl(230, 47%, 52%)
HSVhsv(230, 60%, 75%)
CMYKcmyk(60.2%, 50.3%, 0%, 25.1%)
CIE-LABlab(43.48, 22.40, -52.79)
CIE-LCHlch(43.48, 57.34, 292.99°)
OKLaboklab(52.12% 0.0047 -0.151)
OKLCHoklch(52.12% 0.151 271.8)
XYZxyz(16.4735, 13.4812, 51.0141)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FBF #BFAC4C
analogous
#4C99BF #4C5FBF #734CBF
triadic
#4C5FBF #BF4C5F #5FBF4C
tetradic
#4C5FBF #BF4C99 #BFAC4C #4CBF73
square
#4C5FBF #BF4C99 #BFAC4C #4CBF73
split-complementary
#4C5FBF #BF734C #99BF4C
monochromatic
#26316B #364698 #4C5FBF #7987CF #A6B0DF

Accessibility & contrast

On white

5.68
#4C5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4C5FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FBF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FBF#FFFFFF#000000##FFFFFF
##4C5FBF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#1262BD
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c5fbf;
/* rgb */ color: rgb(76, 95, 191);
/* oklch */ color: oklch(52.1% 0.151 271.8);
Tailwind
colors: {
  custom: {
    50: '#888cd3',
    500: '#4c5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fbf;
$custom-light: #888cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fbf",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 230.087,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.15112,
    "h": 271.8
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#4C5FBF
secondary
#CCC49A
accent
#C151D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4C5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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