#4C54CA#4C54CA

#4C54CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.180 H 275.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4C54CA
RGBrgb(76, 84, 202)
HSLhsl(236, 54%, 55%)
HSVhsv(236, 62%, 79%)
CMYKcmyk(62.4%, 58.4%, 0%, 20.8%)
CIE-LABlab(41.44, 33.07, -62.46)
CIE-LCHlch(41.44, 70.68, 297.90°)
OKLaboklab(50.83% 0.0158 -0.1796)
OKLCHoklch(50.83% 0.18 275)
XYZxyz(16.8080, 12.1400, 57.3232)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54CA #CAC24C
analogous
#4C93CA #4C54CA #834CCA
triadic
#4C54CA #CA4C54 #54CA4C
tetradic
#4C54CA #CA4C93 #CAC24C #4CCA83
square
#4C54CA #CA4C93 #CAC24C #4CCA83
split-complementary
#4C54CA #CA834C #93CA4C
monochromatic
#242978 #3239A7 #4C54CA #7B81D8 #AAAEE6

Accessibility & contrast

On white

6.13
#4C54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4C54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54CA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54CA#FFFFFF#000000##FFFFFF
##4C54CA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c54ca;
/* rgb */ color: rgb(76, 84, 202);
/* oklch */ color: oklch(50.8% 0.180 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b84db',
    500: '#4c54ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c54ca;
$custom-light: #8b84db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54ca",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 236.19,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.18033,
    "h": 275
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#4C54CA
secondary
#D4D09E
accent
#D44ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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