#4C5FBC#4C5FBC

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

Color values

HEX#4C5FBC
RGBrgb(76, 95, 188)
HSLhsl(230, 46%, 52%)
HSVhsv(230, 60%, 74%)
CMYKcmyk(59.6%, 49.5%, 0%, 26.3%)
CIE-LABlab(43.29, 21.37, -51.35)
CIE-LCHlch(43.29, 55.62, 292.60°)
OKLaboklab(51.91% 0.0044 -0.1468)
OKLCHoklch(51.91% 0.147 271.7)
XYZxyz(16.1468, 13.3505, 49.2932)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FBC #BCA94C
analogous
#4C97BC #4C5FBC #714CBC
triadic
#4C5FBC #BC4C5F #5FBC4C
tetradic
#4C5FBC #BC4C97 #BCA94C #4CBC71
square
#4C5FBC #BC4C97 #BCA94C #4CBC71
split-complementary
#4C5FBC #BC714C #97BC4C
monochromatic
#273267 #374794 #4C5FBC #7987CD #A5AFDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C5FBC#FFFFFF#000000##FFFFFF
##4C5FBC1.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)
#2F6BBF
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c5fbc;
/* rgb */ color: rgb(76, 95, 188);
/* oklch */ color: oklch(51.9% 0.147 271.7);
Tailwind
colors: {
  custom: {
    50: '#888cd1',
    500: '#4c5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fbc;
$custom-light: #888cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fbc",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 229.821,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.14689,
    "h": 271.7
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#4C5FBC
secondary
#CAC299
accent
#BF53D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4C5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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