#4A54D4#4A54D4

#4A54D4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.194 H 274.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4A54D4
RGBrgb(74, 84, 212)
HSLhsl(236, 62%, 56%)
HSVhsv(236, 65%, 83%)
CMYKcmyk(65.1%, 60.4%, 0%, 16.9%)
CIE-LABlab(42.07, 36.14, -67.19)
CIE-LCHlch(42.07, 76.29, 298.27°)
OKLaboklab(51.51% 0.0134 -0.1936)
OKLCHoklch(51.51% 0.194 274)
XYZxyz(17.8741, 12.5484, 63.7547)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54D4 #D4CA4A
analogous
#4A99D4 #4A54D4 #854AD4
triadic
#4A54D4 #D44A54 #54D44A
tetradic
#4A54D4 #D44A99 #D4CA4A #4AD485
square
#4A54D4 #D44A99 #D4CA4A #4AD485
split-complementary
#4A54D4 #D4854A #99D44A
monochromatic
#1F2784 #2B35B6 #4A54D4 #7B83E0 #ADB1EB

Accessibility & contrast

On white

5.98
#4A54D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4A54D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54D4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54D4#FFFFFF#000000##FFFFFF
##4A54D41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a54d4;
/* rgb */ color: rgb(74, 84, 212);
/* oklch */ color: oklch(51.5% 0.194 274.0);
Tailwind
colors: {
  custom: {
    50: '#8c84e2',
    500: '#4a54d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a54d4;
$custom-light: #8c84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54d4",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 235.652,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.19405,
    "h": 274
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#4A54D4
secondary
#D9D5A0
accent
#D943E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4A54D4

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

Preview Lab → · Contrast checker → · Palette generator →

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