#4A55AB#4A55AB

#4A55AB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.136 H 274.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4A55AB
RGBrgb(74, 85, 171)
HSLhsl(233, 40%, 48%)
HSVhsv(233, 57%, 67%)
CMYKcmyk(56.7%, 50.3%, 0%, 32.9%)
CIE-LABlab(39.40, 21.58, -47.62)
CIE-LCHlch(39.40, 52.29, 294.38°)
OKLaboklab(48.58% 0.0111 -0.136)
OKLCHoklch(48.58% 0.136 274.7)
XYZxyz(13.4208, 10.8922, 39.9154)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A55AB #ABA04A
analogous
#4A85AB #4A55AB #6F4AAB
triadic
#4A55AB #AB4A55 #55AB4A
tetradic
#4A55AB #AB4A85 #ABA04A #4AAB6F
square
#4A55AB #AB4A85 #ABA04A #4AAB6F
split-complementary
#4A55AB #AB6F4A #85AB4A
monochromatic
#252B56 #384080 #4A55AB #717AC1 #9BA2D4

Accessibility & contrast

On white

6.61
#4A55AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4A55AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A55AB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A55AB#FFFFFF#000000##FFFFFF
##4A55AB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#1A59A9
Tritanopia (blue-blind)
#126878
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a55ab;
/* rgb */ color: rgb(74, 85, 171);
/* oklch */ color: oklch(48.6% 0.136 274.7);
Tailwind
colors: {
  custom: {
    50: '#8484c4',
    500: '#4a55ab',
    950: '#000000',
  },
}
SCSS
$custom: #4a55ab;
$custom-light: #8484c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a55ab",
  "rgb": {
    "r": 74,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 233.196,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.13648,
    "h": 274.7
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#4A55AB
secondary
#C0BB90
accent
#C258CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4A55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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