#4A54CF#4A54CF

#4A54CF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.187 H 274.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4A54CF
RGBrgb(74, 84, 207)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 64%, 81%)
CMYKcmyk(64.3%, 59.4%, 0%, 18.8%)
CIE-LABlab(41.69, 34.44, -64.94)
CIE-LCHlch(41.69, 73.51, 297.94°)
OKLaboklab(51.1% 0.0135 -0.187)
OKLCHoklch(51.1% 0.187 274.1)
XYZxyz(17.2531, 12.3000, 60.4843)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54CF #CFC54A
analogous
#4A96CF #4A54CF #834ACF
triadic
#4A54CF #CF4A54 #54CF4A
tetradic
#4A54CF #CF4A96 #CFC54A #4ACF83
square
#4A54CF #CF4A96 #CFC54A #4ACF83
split-complementary
#4A54CF #CF834A #96CF4A
monochromatic
#21287D #2E38AE #4A54CF #7A82DC #ABAFE9

Accessibility & contrast

On white

6.07
#4A54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4A54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54CF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54CF#FFFFFF#000000##FFFFFF
##4A54CF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a54cf;
/* rgb */ color: rgb(74, 84, 207);
/* oklch */ color: oklch(51.1% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#8b84df',
    500: '#4a54cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a54cf;
$custom-light: #8b84df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54cf",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 235.489,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51104,
    "c": 0.18748,
    "h": 274.1
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#4A54CF
secondary
#D6D29F
accent
#D646E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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