#4A54DB#4A54DB

#4A54DB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.1% C 0.203 H 273.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4A54DB
RGBrgb(74, 84, 219)
HSLhsl(236, 67%, 57%)
HSVhsv(236, 66%, 86%)
CMYKcmyk(66.2%, 61.6%, 0%, 14.1%)
CIE-LABlab(42.63, 38.50, -70.30)
CIE-LCHlch(42.63, 80.15, 298.71°)
OKLaboklab(52.09% 0.0132 -0.2027)
OKLCHoklch(52.09% 0.203 273.7)
XYZxyz(18.7763, 12.9093, 68.5063)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54DB #DBD14A
analogous
#4A9DDB #4A54DB #884ADB
triadic
#4A54DB #DB4A54 #54DB4A
tetradic
#4A54DB #DB4A9D #DBD14A #4ADB88
square
#4A54DB #DB4A9D #DBD14A #4ADB88
split-complementary
#4A54DB #DB884A #9DDB4A
monochromatic
#1C248E #2631C1 #4A54DB #7D84E5 #B0B4EF

Accessibility & contrast

On white

5.86
#4A54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4A54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54DB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54DB#FFFFFF#000000##FFFFFF
##4A54DB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a54db;
/* rgb */ color: rgb(74, 84, 219);
/* oklch */ color: oklch(52.1% 0.203 273.7);
Tailwind
colors: {
  custom: {
    50: '#8d84e7',
    500: '#4a54db',
    950: '#000000',
  },
}
SCSS
$custom: #4a54db;
$custom-light: #8d84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54db",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 235.862,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.20314,
    "h": 273.7
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#4A54DB
secondary
#DEDAA3
accent
#DE3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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