#4A54CA#4A54CA

#4A54CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.181 H 274.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4A54CA
RGBrgb(74, 84, 202)
HSLhsl(235, 55%, 54%)
HSVhsv(235, 63%, 79%)
CMYKcmyk(63.4%, 58.4%, 0%, 20.8%)
CIE-LABlab(41.31, 32.75, -62.67)
CIE-LCHlch(41.31, 70.71, 297.59°)
OKLaboklab(50.7% 0.0136 -0.1803)
OKLCHoklch(50.7% 0.181 274.3)
XYZxyz(16.6515, 12.0594, 57.3158)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54CA #CAC04A
analogous
#4A94CA #4A54CA #804ACA
triadic
#4A54CA #CA4A54 #54CA4A
tetradic
#4A54CA #CA4A94 #CAC04A #4ACA80
square
#4A54CA #CA4A94 #CAC04A #4ACA80
split-complementary
#4A54CA #CA804A #94CA4A
monochromatic
#232977 #313AA6 #4A54CA #7981D8 #A9ADE6

Accessibility & contrast

On white

6.15
#4A54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4A54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54CA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54CA#FFFFFF#000000##FFFFFF
##4A54CA1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a54ca;
/* rgb */ color: rgb(74, 84, 202);
/* oklch */ color: oklch(50.7% 0.181 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a84db',
    500: '#4a54ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a54ca;
$custom-light: #8a84db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54ca",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 235.313,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50704,
    "c": 0.18083,
    "h": 274.3
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#4A54CA
secondary
#D3CF9D
accent
#D24ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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