#4A5FD1#4A5FD1

#4A5FD1 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.176 H 271.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4A5FD1
RGBrgb(74, 95, 209)
HSLhsl(231, 59%, 55%)
HSVhsv(231, 65%, 82%)
CMYKcmyk(64.6%, 54.5%, 0%, 18%)
CIE-LABlab(44.58, 28.24, -61.40)
CIE-LCHlch(44.58, 67.59, 294.70°)
OKLaboklab(53.3% 0.004 -0.1765)
OKLCHoklch(53.3% 0.177 271.3)
XYZxyz(18.4210, 14.2421, 62.0875)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FD1 #D1BC4A
analogous
#4AA2D1 #4A5FD1 #794AD1
triadic
#4A5FD1 #D14A5F #5FD14A
tetradic
#4A5FD1 #D14AA2 #D1BC4A #4AD179
square
#4A5FD1 #D14AA2 #D1BC4A #4AD179
split-complementary
#4A5FD1 #D1794A #A2D14A
monochromatic
#212F80 #2D41B1 #4A5FD1 #7B8ADD #ACB5EA

Accessibility & contrast

On white

5.46
#4A5FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A5FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FD1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FD1#FFFFFF#000000##FFFFFF
##4A5FD11.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0170D5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a5fd1;
/* rgb */ color: rgb(74, 95, 209);
/* oklch */ color: oklch(53.3% 0.176 271.3);
Tailwind
colors: {
  custom: {
    50: '#8a8ce0',
    500: '#4a5fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fd1;
$custom-light: #8a8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fd1",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 230.667,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.1765,
    "h": 271.3
  },
  "luminance": 0.14244
}

Semantic roles & 50–950 ramp

primary
#4A5FD1
secondary
#D8CF9F
accent
#CA45E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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