#4A54BE#4A54BE

#4A54BE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.165 H 274.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4A54BE
RGBrgb(74, 84, 190)
HSLhsl(235, 47%, 52%)
HSVhsv(235, 61%, 75%)
CMYKcmyk(61.1%, 55.8%, 0%, 25.5%)
CIE-LABlab(40.43, 28.67, -57.13)
CIE-LCHlch(40.43, 63.92, 296.65°)
OKLaboklab(49.77% 0.0134 -0.164)
OKLCHoklch(49.77% 0.165 274.7)
XYZxyz(15.2856, 11.5130, 50.1219)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54BE #BEB44A
analogous
#4A8EBE #4A54BE #7A4ABE
triadic
#4A54BE #BE4A54 #54BE4A
tetradic
#4A54BE #BE4A8E #BEB44A #4ABE7A
square
#4A54BE #BE4A8E #BEB44A #4ABE7A
split-complementary
#4A54BE #BE7A4A #8EBE4A
monochromatic
#252B68 #363E95 #4A54BE #777FCE #A4A9DE

Accessibility & contrast

On white

6.36
#4A54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4A54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54BE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54BE#FFFFFF#000000##FFFFFF
##4A54BE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a54be;
/* rgb */ color: rgb(74, 84, 190);
/* oklch */ color: oklch(49.8% 0.165 274.7);
Tailwind
colors: {
  custom: {
    50: '#8884d2',
    500: '#4a54be',
    950: '#000000',
  },
}
SCSS
$custom: #4a54be;
$custom-light: #8884d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54be",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 234.828,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49773,
    "c": 0.16456,
    "h": 274.7
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#4A54BE
secondary
#CBC798
accent
#CB51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4A54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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