#4A5FC5#4A5FC5

#4A5FC5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.160 H 271.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4A5FC5
RGBrgb(74, 95, 197)
HSLhsl(230, 51%, 53%)
HSVhsv(230, 62%, 77%)
CMYKcmyk(62.4%, 51.8%, 0%, 22.7%)
CIE-LABlab(43.76, 24.09, -55.82)
CIE-LCHlch(43.76, 60.80, 293.35°)
OKLaboklab(52.42% 0.0032 -0.16)
OKLCHoklch(52.42% 0.16 271.1)
XYZxyz(16.9909, 13.6700, 54.5557)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FC5 #C5B04A
analogous
#4A9CC5 #4A5FC5 #724AC5
triadic
#4A5FC5 #C54A5F #5FC54A
tetradic
#4A5FC5 #C54A9C #C5B04A #4AC572
square
#4A5FC5 #C54A9C #C5B04A #4AC572
split-complementary
#4A5FC5 #C5724A #9CC54A
monochromatic
#243171 #33459F #4A5FC5 #7888D4 #A7B1E3

Accessibility & contrast

On white

5.62
#4A5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4A5FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FC5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FC5#FFFFFF#000000##FFFFFF
##4A5FC51.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a5fc5;
/* rgb */ color: rgb(74, 95, 197);
/* oklch */ color: oklch(52.4% 0.160 271.1);
Tailwind
colors: {
  custom: {
    50: '#888cd7',
    500: '#4a5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fc5;
$custom-light: #888cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fc5",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 229.756,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.16007,
    "h": 271.1
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#4A5FC5
secondary
#D0C79B
accent
#C34DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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