#4A5CB2#4A5CB2

#4A5CB2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.137 H 271.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4A5CB2
RGBrgb(74, 92, 178)
HSLhsl(230, 41%, 49%)
HSVhsv(230, 58%, 70%)
CMYKcmyk(58.4%, 48.3%, 0%, 30.2%)
CIE-LABlab(41.73, 19.48, -48.02)
CIE-LCHlch(41.73, 51.82, 292.08°)
OKLaboklab(50.49% 0.0043 -0.1371)
OKLCHoklch(50.49% 0.137 271.8)
XYZxyz(14.6844, 12.3234, 43.7157)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5CB2 #B2A04A
analogous
#4A90B2 #4A5CB2 #6C4AB2
triadic
#4A5CB2 #B24A5C #5CB24A
tetradic
#4A5CB2 #B24A90 #B2A04A #4AB26C
square
#4A5CB2 #B24A90 #B2A04A #4AB26C
split-complementary
#4A5CB2 #B26C4A #90B24A
monochromatic
#262F5C #384687 #4A5CB2 #7482C5 #9FA9D7

Accessibility & contrast

On white

6.06
#4A5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4A5CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5CB2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5CB2#FFFFFF#000000##FFFFFF
##4A5CB21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a5cb2;
/* rgb */ color: rgb(74, 92, 178);
/* oklch */ color: oklch(50.5% 0.137 271.8);
Tailwind
colors: {
  custom: {
    50: '#8589c9',
    500: '#4a5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #4a5cb2;
$custom-light: #8589c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5cb2",
  "rgb": {
    "r": 74,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 229.615,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.13718,
    "h": 271.8
  },
  "luminance": 0.12324
}

Semantic roles & 50–950 ramp

primary
#4A5CB2
secondary
#C4BC94
accent
#BC57D1
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4A5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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