#4C54CF#4C54CF

#4C54CF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.187 H 274.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4C54CF
RGBrgb(76, 84, 207)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 63%, 81%)
CMYKcmyk(63.3%, 59.4%, 0%, 18.8%)
CIE-LABlab(41.81, 34.76, -64.73)
CIE-LCHlch(41.81, 73.47, 298.23°)
OKLaboklab(51.23% 0.0157 -0.1863)
OKLCHoklch(51.23% 0.187 274.8)
XYZxyz(17.4096, 12.3807, 60.4916)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54CF #CFC74C
analogous
#4C95CF #4C54CF #854CCF
triadic
#4C54CF #CF4C54 #54CF4C
tetradic
#4C54CF #CF4C95 #CFC74C #4CCF85
square
#4C54CF #CF4C95 #CFC74C #4CCF85
split-complementary
#4C54CF #CF854C #95CF4C
monochromatic
#22287F #2F37AF #4C54CF #7C82DC #ADB0E9

Accessibility & contrast

On white

6.04
#4C54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4C54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54CF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54CF#FFFFFF#000000##FFFFFF
##4C54CF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c54cf;
/* rgb */ color: rgb(76, 84, 207);
/* oklch */ color: oklch(51.2% 0.187 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c84df',
    500: '#4c54cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c54cf;
$custom-light: #8c84df;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54cf",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 236.336,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.18698,
    "h": 274.8
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#4C54CF
secondary
#D7D3A0
accent
#D847E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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