#4C54BB#4C54BB

#4C54BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.160 H 275.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4C54BB
RGBrgb(76, 84, 187)
HSLhsl(236, 45%, 52%)
HSVhsv(236, 59%, 73%)
CMYKcmyk(59.4%, 55.1%, 0%, 26.7%)
CIE-LABlab(40.35, 28.01, -55.50)
CIE-LCHlch(40.35, 62.17, 296.78°)
OKLaboklab(49.68% 0.0156 -0.1592)
OKLCHoklch(49.68% 0.16 275.6)
XYZxyz(15.1175, 11.4639, 48.4202)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54BB #BBB34C
analogous
#4C8CBB #4C54BB #7C4CBB
triadic
#4C54BB #BB4C54 #54BB4C
tetradic
#4C54BB #BB4C8C #BBB34C #4CBB7C
square
#4C54BB #BB4C8C #BBB34C #4CBB7C
split-complementary
#4C54BB #BB7C4C #8CBB4C
monochromatic
#272B66 #383E92 #4C54BB #787ECC #A5A9DD

Accessibility & contrast

On white

6.38
#4C54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4C54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54BB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54BB#FFFFFF#000000##FFFFFF
##4C54BB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0864BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c54bb;
/* rgb */ color: rgb(76, 84, 187);
/* oklch */ color: oklch(49.7% 0.160 275.6);
Tailwind
colors: {
  custom: {
    50: '#8884d0',
    500: '#4c54bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c54bb;
$custom-light: #8884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54bb",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 235.676,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.15992,
    "h": 275.6
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#4C54BB
secondary
#CAC699
accent
#CB53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4C54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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