#4A5CB1#4A5CB1

#4A5CB1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.136 H 271.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4A5CB1
RGBrgb(74, 92, 177)
HSLhsl(230, 41%, 49%)
HSVhsv(230, 58%, 69%)
CMYKcmyk(58.2%, 48%, 0%, 30.6%)
CIE-LABlab(41.66, 19.14, -47.53)
CIE-LCHlch(41.66, 51.24, 291.93°)
OKLaboklab(50.42% 0.0041 -0.1357)
OKLCHoklch(50.42% 0.136 271.7)
XYZxyz(14.5844, 12.2834, 43.1888)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5CB1 #B19F4A
analogous
#4A90B1 #4A5CB1 #6C4AB1
triadic
#4A5CB1 #B14A5C #5CB14A
tetradic
#4A5CB1 #B14A90 #B19F4A #4AB16C
square
#4A5CB1 #B14A90 #B19F4A #4AB16C
split-complementary
#4A5CB1 #B16C4A #90B14A
monochromatic
#262F5B #384686 #4A5CB1 #7482C5 #9FA8D7

Accessibility & contrast

On white

6.07
#4A5CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A5CB1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5CB1#FFFFFF#000000##FFFFFF
##4A5CB11.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a5cb1;
/* rgb */ color: rgb(74, 92, 177);
/* oklch */ color: oklch(50.4% 0.136 271.7);
Tailwind
colors: {
  custom: {
    50: '#8589c9',
    500: '#4a5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #4a5cb1;
$custom-light: #8589c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5cb1",
  "rgb": {
    "r": 74,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 229.515,
    "s": 41.036,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.13574,
    "h": 271.7
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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