#4A54D3#4A54D3

#4A54D3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.193 H 274.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4A54D3
RGBrgb(74, 84, 211)
HSLhsl(236, 61%, 56%)
HSVhsv(236, 65%, 83%)
CMYKcmyk(64.9%, 60.2%, 0%, 17.3%)
CIE-LABlab(42.00, 35.80, -66.74)
CIE-LCHlch(42.00, 75.74, 298.21°)
OKLaboklab(51.43% 0.0134 -0.1923)
OKLCHoklch(51.43% 0.193 274)
XYZxyz(17.7483, 12.4981, 63.0924)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54D3 #D3C94A
analogous
#4A99D3 #4A54D3 #844AD3
triadic
#4A54D3 #D34A54 #54D34A
tetradic
#4A54D3 #D34A99 #D3C94A #4AD384
square
#4A54D3 #D34A99 #D3C94A #4AD384
split-complementary
#4A54D3 #D3844A #99D34A
monochromatic
#202783 #2C36B4 #4A54D3 #7B83DF #ACB1EB

Accessibility & contrast

On white

6.00
#4A54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4A54D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54D3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54D3#FFFFFF#000000##FFFFFF
##4A54D31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a54d3;
/* rgb */ color: rgb(74, 84, 211);
/* oklch */ color: oklch(51.4% 0.193 274.0);
Tailwind
colors: {
  custom: {
    50: '#8c84e1',
    500: '#4a54d3',
    950: '#000000',
  },
}
SCSS
$custom: #4a54d3;
$custom-light: #8c84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54d3",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 235.62,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51428,
    "c": 0.19274,
    "h": 274
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#4A54D3
secondary
#D9D5A0
accent
#D844E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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