#4A5FC6#4A5FC6

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

Color values

HEX#4A5FC6
RGBrgb(74, 95, 198)
HSLhsl(230, 52%, 53%)
HSVhsv(230, 63%, 78%)
CMYKcmyk(62.6%, 52%, 0%, 22.4%)
CIE-LABlab(43.82, 24.44, -56.29)
CIE-LCHlch(43.82, 61.37, 293.47°)
OKLaboklab(52.5% 0.0032 -0.1614)
OKLCHoklch(52.5% 0.161 271.1)
XYZxyz(17.1059, 13.7160, 55.1611)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FC6 #C6B14A
analogous
#4A9DC6 #4A5FC6 #734AC6
triadic
#4A5FC6 #C64A5F #5FC64A
tetradic
#4A5FC6 #C64A9D #C6B14A #4AC673
square
#4A5FC6 #C64A9D #C6B14A #4AC673
split-complementary
#4A5FC6 #C6734A #9DC64A
monochromatic
#243172 #3245A0 #4A5FC6 #7988D5 #A7B1E3

Accessibility & contrast

On white

5.61
#4A5FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4A5FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FC6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FC6#FFFFFF#000000##FFFFFF
##4A5FC61.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216DCA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5fc6;
/* rgb */ color: rgb(74, 95, 198);
/* oklch */ color: oklch(52.5% 0.161 271.1);
Tailwind
colors: {
  custom: {
    50: '#888cd8',
    500: '#4a5fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fc6;
$custom-light: #888cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fc6",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 229.839,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.16145,
    "h": 271.1
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#4A5FC6
secondary
#D1C89B
accent
#C34CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4A5FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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