#4A5FC2#4A5FC2

#4A5FC2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.156 H 271.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4A5FC2
RGBrgb(74, 95, 194)
HSLhsl(230, 50%, 53%)
HSVhsv(230, 62%, 76%)
CMYKcmyk(61.9%, 51%, 0%, 23.9%)
CIE-LABlab(43.56, 23.06, -54.41)
CIE-LCHlch(43.56, 59.09, 292.97°)
OKLaboklab(52.21% 0.0029 -0.1559)
OKLCHoklch(52.21% 0.156 271.1)
XYZxyz(16.6506, 13.5339, 52.7633)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FC2 #C2AD4A
analogous
#4A9BC2 #4A5FC2 #714AC2
triadic
#4A5FC2 #C24A5F #5FC24A
tetradic
#4A5FC2 #C24A9B #C2AD4A #4AC271
square
#4A5FC2 #C24A9B #C2AD4A #4AC271
split-complementary
#4A5FC2 #C2714A #9BC24A
monochromatic
#25316D #34469B #4A5FC2 #7887D1 #A6B0E1

Accessibility & contrast

On white

5.66
#4A5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4A5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FC2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FC2#FFFFFF#000000##FFFFFF
##4A5FC21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276CC6
Deuteranopia (green-blind)
#0262C0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a5fc2;
/* rgb */ color: rgb(74, 95, 194);
/* oklch */ color: oklch(52.2% 0.156 271.1);
Tailwind
colors: {
  custom: {
    50: '#888cd5',
    500: '#4a5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fc2;
$custom-light: #888cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fc2",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 229.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.1559,
    "h": 271.1
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#4A5FC2
secondary
#CEC59A
accent
#C14FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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