#4A5ABE#4A5ABE

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

Color values

HEX#4A5ABE
RGBrgb(74, 90, 190)
HSLhsl(232, 47%, 52%)
HSVhsv(232, 61%, 75%)
CMYKcmyk(61.1%, 52.6%, 0%, 25.5%)
CIE-LABlab(41.98, 24.86, -54.63)
CIE-LCHlch(41.98, 60.02, 294.47°)
OKLaboklab(50.93% 0.0075 -0.1566)
OKLCHoklch(50.93% 0.157 272.7)
XYZxyz(15.7714, 12.4846, 50.2839)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ABE #BEAE4A
analogous
#4A94BE #4A5ABE #744ABE
triadic
#4A5ABE #BE4A5A #5ABE4A
tetradic
#4A5ABE #BE4A94 #BEAE4A #4ABE74
square
#4A5ABE #BE4A94 #BEAE4A #4ABE74
split-complementary
#4A5ABE #BE744A #94BE4A
monochromatic
#252F68 #364395 #4A5ABE #7783CE #A4ACDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A5ABE#FFFFFF#000000##FFFFFF
##4A5ABE1.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)
#1D68C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a5abe;
/* rgb */ color: rgb(74, 90, 190);
/* oklch */ color: oklch(50.9% 0.157 272.7);
Tailwind
colors: {
  custom: {
    50: '#8788d2',
    500: '#4a5abe',
    950: '#000000',
  },
}
SCSS
$custom: #4a5abe;
$custom-light: #8788d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5abe",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 231.724,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50931,
    "c": 0.15677,
    "h": 272.7
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#4A5ABE
secondary
#CBC498
accent
#C451D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4A5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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