#4C54CB#4C54CB

#4C54CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.182 H 275.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4C54CB
RGBrgb(76, 84, 203)
HSLhsl(236, 55%, 55%)
HSVhsv(236, 63%, 80%)
CMYKcmyk(62.6%, 58.6%, 0%, 20.4%)
CIE-LABlab(41.51, 33.41, -62.92)
CIE-LCHlch(41.51, 71.24, 297.97°)
OKLaboklab(50.91% 0.0158 -0.181)
OKLCHoklch(50.91% 0.182 275)
XYZxyz(16.9268, 12.1876, 57.9488)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54CB #CBC34C
analogous
#4C94CB #4C54CB #834CCB
triadic
#4C54CB #CB4C54 #54CB4C
tetradic
#4C54CB #CB4C94 #CBC34C #4CCB83
square
#4C54CB #CB4C94 #CBC34C #4CCB83
split-complementary
#4C54CB #CB834C #94CB4C
monochromatic
#232979 #3139A9 #4C54CB #7B81D9 #ABAFE7

Accessibility & contrast

On white

6.11
#4C54CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4C54CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54CB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54CB#FFFFFF#000000##FFFFFF
##4C54CB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c54cb;
/* rgb */ color: rgb(76, 84, 203);
/* oklch */ color: oklch(50.9% 0.182 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b84dc',
    500: '#4c54cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c54cb;
$custom-light: #8b84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54cb",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 236.22,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50911,
    "c": 0.18167,
    "h": 275
  },
  "luminance": 0.12189
}

Semantic roles & 50–950 ramp

primary
#4C54CB
secondary
#D4D19F
accent
#D549DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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