#4A5FC0#4A5FC0

#4A5FC0 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.153 H 271.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4A5FC0
RGBrgb(74, 95, 192)
HSLhsl(229, 48%, 52%)
HSVhsv(229, 61%, 75%)
CMYKcmyk(61.5%, 50.5%, 0%, 24.7%)
CIE-LABlab(43.43, 22.37, -53.46)
CIE-LCHlch(43.43, 57.95, 292.71°)
OKLaboklab(52.07% 0.0027 -0.1531)
OKLCHoklch(52.07% 0.153 271)
XYZxyz(16.4275, 13.4447, 51.5883)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FC0 #C0AB4A
analogous
#4A9AC0 #4A5FC0 #704AC0
triadic
#4A5FC0 #C04A5F #5FC04A
tetradic
#4A5FC0 #C04A9A #C0AB4A #4AC070
square
#4A5FC0 #C04A9A #C0AB4A #4AC070
split-complementary
#4A5FC0 #C0704A #9AC04A
monochromatic
#25316B #354798 #4A5FC0 #7787D0 #A5AFE0

Accessibility & contrast

On white

5.69
#4A5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4A5FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FC0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FC0#FFFFFF#000000##FFFFFF
##4A5FC01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a5fc0;
/* rgb */ color: rgb(74, 95, 192);
/* oklch */ color: oklch(52.1% 0.153 271.0);
Tailwind
colors: {
  custom: {
    50: '#878cd4',
    500: '#4a5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fc0;
$custom-light: #878cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fc0",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 229.322,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.1531,
    "h": 271
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#4A5FC0
secondary
#CDC399
accent
#C050D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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