#4A5AAA#4A5AAA

#4A5AAA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.128 H 272.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4A5AAA
RGBrgb(74, 90, 170)
HSLhsl(230, 39%, 48%)
HSVhsv(230, 56%, 67%)
CMYKcmyk(56.5%, 47.1%, 0%, 33.3%)
CIE-LABlab(40.69, 18.04, -44.97)
CIE-LCHlch(40.69, 48.45, 291.86°)
OKLaboklab(49.54% 0.0054 -0.1282)
OKLCHoklch(49.54% 0.128 272.4)
XYZxyz(13.7335, 11.6695, 39.5511)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5AAA #AA9A4A
analogous
#4A8AAA #4A5AAA #6A4AAA
triadic
#4A5AAA #AA4A5A #5AAA4A
tetradic
#4A5AAA #AA4A8A #AA9A4A #4AAA6A
square
#4A5AAA #AA4A8A #AA9A4A #4AAA6A
split-complementary
#4A5AAA #AA6A4A #8AAA4A
monochromatic
#252D55 #37437F #4A5AAA #707EC1 #9BA4D3

Accessibility & contrast

On white

6.30
#4A5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4A5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5AAA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5AAA#FFFFFF#000000##FFFFFF
##4A5AAA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#285CA8
Tritanopia (blue-blind)
#126C7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a5aaa;
/* rgb */ color: rgb(74, 90, 170);
/* oklch */ color: oklch(49.5% 0.128 272.4);
Tailwind
colors: {
  custom: {
    50: '#8488c4',
    500: '#4a5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4a5aaa;
$custom-light: #8488c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5aaa",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 230,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.12828,
    "h": 272.4
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#4A5AAA
secondary
#C0B890
accent
#BB59CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4A5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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