#4A5FC4#4A5FC4

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

Color values

HEX#4A5FC4
RGBrgb(74, 95, 196)
HSLhsl(230, 51%, 53%)
HSVhsv(230, 62%, 77%)
CMYKcmyk(62.2%, 51.5%, 0%, 23.1%)
CIE-LABlab(43.69, 23.75, -55.35)
CIE-LCHlch(43.69, 60.23, 293.22°)
OKLaboklab(52.35% 0.0031 -0.1587)
OKLCHoklch(52.35% 0.159 271.1)
XYZxyz(16.8767, 13.6244, 53.9542)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FC4 #C4AF4A
analogous
#4A9CC4 #4A5FC4 #724AC4
triadic
#4A5FC4 #C44A5F #5FC44A
tetradic
#4A5FC4 #C44A9C #C4AF4A #4AC472
square
#4A5FC4 #C44A9C #C4AF4A #4AC472
split-complementary
#4A5FC4 #C4724A #9CC44A
monochromatic
#24316F #33469D #4A5FC4 #7888D3 #A6B1E2

Accessibility & contrast

On white

5.64
#4A5FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A5FC4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FC4#FFFFFF#000000##FFFFFF
##4A5FC41.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246DC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a5fc4;
/* rgb */ color: rgb(74, 95, 196);
/* oklch */ color: oklch(52.4% 0.159 271.1);
Tailwind
colors: {
  custom: {
    50: '#888cd6',
    500: '#4a5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fc4;
$custom-light: #888cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fc4",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 229.672,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.15868,
    "h": 271.1
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#4A5FC4
secondary
#CFC69B
accent
#C24DDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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