#4C54BE#4C54BE

#4C54BE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.164 H 275.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4C54BE
RGBrgb(76, 84, 190)
HSLhsl(236, 47%, 52%)
HSVhsv(236, 60%, 75%)
CMYKcmyk(60%, 55.8%, 0%, 25.5%)
CIE-LABlab(40.56, 29.02, -56.91)
CIE-LCHlch(40.56, 63.88, 297.02°)
OKLaboklab(49.91% 0.0157 -0.1633)
OKLCHoklch(49.91% 0.164 275.5)
XYZxyz(15.4421, 11.5937, 50.1293)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54BE #BEB64C
analogous
#4C8DBE #4C54BE #7D4CBE
triadic
#4C54BE #BE4C54 #54BE4C
tetradic
#4C54BE #BE4C8D #BEB64C #4CBE7D
square
#4C54BE #BE4C8D #BEB64C #4CBE7D
split-complementary
#4C54BE #BE7D4C #8DBE4C
monochromatic
#262B69 #373D96 #4C54BE #797FCE #A6AADF

Accessibility & contrast

On white

6.33
#4C54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4C54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54BE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54BE#FFFFFF#000000##FFFFFF
##4C54BE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c54be;
/* rgb */ color: rgb(76, 84, 190);
/* oklch */ color: oklch(49.9% 0.164 275.5);
Tailwind
colors: {
  custom: {
    50: '#8984d2',
    500: '#4c54be',
    950: '#000000',
  },
}
SCSS
$custom: #4c54be;
$custom-light: #8984d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54be",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 235.789,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.16406,
    "h": 275.5
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#4C54BE
secondary
#CCC89A
accent
#CD51D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4C54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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