#4A54CE#4A54CE

#4A54CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.186 H 274.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4A54CE
RGBrgb(74, 84, 206)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 64%, 81%)
CMYKcmyk(64.1%, 59.2%, 0%, 19.2%)
CIE-LABlab(41.61, 34.11, -64.49)
CIE-LCHlch(41.61, 72.96, 297.87°)
OKLaboklab(51.02% 0.0135 -0.1857)
OKLCHoklch(51.02% 0.186 274.2)
XYZxyz(17.1313, 12.2513, 59.8425)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54CE #CEC44A
analogous
#4A96CE #4A54CE #824ACE
triadic
#4A54CE #CE4A54 #54CE4A
tetradic
#4A54CE #CE4A96 #CEC44A #4ACE82
square
#4A54CE #CE4A96 #CEC44A #4ACE82
split-complementary
#4A54CE #CE824A #96CE4A
monochromatic
#22287C #2F38AC #4A54CE #7A82DB #AAAFE8

Accessibility & contrast

On white

6.09
#4A54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4A54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54CE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54CE#FFFFFF#000000##FFFFFF
##4A54CE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a54ce;
/* rgb */ color: rgb(74, 84, 206);
/* oklch */ color: oklch(51.0% 0.186 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b84de',
    500: '#4a54ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a54ce;
$custom-light: #8b84de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54ce",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 235.455,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51023,
    "c": 0.18615,
    "h": 274.2
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#4A54CE
secondary
#D6D19E
accent
#D547E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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