#4A54D9#4A54D9

#4A54D9 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.9% C 0.201 H 273.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4A54D9
RGBrgb(74, 84, 217)
HSLhsl(236, 65%, 57%)
HSVhsv(236, 66%, 85%)
CMYKcmyk(65.9%, 61.3%, 0%, 14.9%)
CIE-LABlab(42.47, 37.83, -69.41)
CIE-LCHlch(42.47, 79.05, 298.59°)
OKLaboklab(51.92% 0.0132 -0.2001)
OKLCHoklch(51.92% 0.201 273.8)
XYZxyz(18.5146, 12.8046, 67.1280)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54D9 #D9CF4A
analogous
#4A9CD9 #4A54D9 #874AD9
triadic
#4A54D9 #D94A54 #54D94A
tetradic
#4A54D9 #D94A9C #D9CF4A #4AD987
square
#4A54D9 #D94A9C #D9CF4A #4AD987
split-complementary
#4A54D9 #D9874A #9CD94A
monochromatic
#1D258B #2832BE #4A54D9 #7D84E4 #AFB4EE

Accessibility & contrast

On white

5.90
#4A54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4A54D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54D9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54D9#FFFFFF#000000##FFFFFF
##4A54D91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a54d9;
/* rgb */ color: rgb(74, 84, 217);
/* oklch */ color: oklch(51.9% 0.201 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d84e6',
    500: '#4a54d9',
    950: '#000000',
  },
}
SCSS
$custom: #4a54d9;
$custom-light: #8d84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54d9",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 235.804,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.20056,
    "h": 273.8
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#4A54D9
secondary
#DCD8A2
accent
#DC40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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