#4C5BB2#4C5BB2

#4C5BB2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.138 H 273.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4C5BB2
RGBrgb(76, 91, 178)
HSLhsl(231, 40%, 50%)
HSVhsv(231, 57%, 70%)
CMYKcmyk(57.3%, 48.9%, 0%, 30.2%)
CIE-LABlab(41.58, 20.52, -48.24)
CIE-LCHlch(41.58, 52.42, 293.04°)
OKLaboklab(50.42% 0.0075 -0.1377)
OKLCHoklch(50.42% 0.138 273.1)
XYZxyz(14.7548, 12.2319, 43.6943)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5BB2 #B2A34C
analogous
#4C8EB2 #4C5BB2 #704CB2
triadic
#4C5BB2 #B24C5B #5BB24C
tetradic
#4C5BB2 #B24C8E #B2A34C #4CB270
square
#4C5BB2 #B24C8E #B2A34C #4CB270
split-complementary
#4C5BB2 #B2704C #8EB24C
monochromatic
#272F5C #3A4587 #4C5BB2 #7682C5 #A1A9D7

Accessibility & contrast

On white

6.09
#4C5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4C5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5BB2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5BB2#FFFFFF#000000##FFFFFF
##4C5BB21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#215EB0
Tritanopia (blue-blind)
#0A6E7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c5bb2;
/* rgb */ color: rgb(76, 91, 178);
/* oklch */ color: oklch(50.4% 0.138 273.1);
Tailwind
colors: {
  custom: {
    50: '#8689c9',
    500: '#4c5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4c5bb2;
$custom-light: #8689c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5bb2",
  "rgb": {
    "r": 76,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 231.176,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.13793,
    "h": 273.1
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#4C5BB2
secondary
#C4BD96
accent
#BE58D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4C5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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