#4A5FD4#4A5FD4

#4A5FD4 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.181 H 271.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4A5FD4
RGBrgb(74, 95, 212)
HSLhsl(231, 62%, 56%)
HSVhsv(231, 65%, 83%)
CMYKcmyk(65.1%, 55.2%, 0%, 16.9%)
CIE-LABlab(44.79, 29.28, -62.78)
CIE-LCHlch(44.79, 69.27, 295.00°)
OKLaboklab(53.53% 0.0041 -0.1805)
OKLCHoklch(53.53% 0.181 271.3)
XYZxyz(18.7959, 14.3920, 64.0620)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FD4 #D4BF4A
analogous
#4AA4D4 #4A5FD4 #7A4AD4
triadic
#4A5FD4 #D44A5F #5FD44A
tetradic
#4A5FD4 #D44AA4 #D4BF4A #4AD47A
square
#4A5FD4 #D44AA4 #D4BF4A #4AD47A
split-complementary
#4A5FD4 #D47A4A #A4D44A
monochromatic
#1F2F84 #2B40B6 #4A5FD4 #7B8BE0 #ADB6EB

Accessibility & contrast

On white

5.41
#4A5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4A5FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FD4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FD4#FFFFFF#000000##FFFFFF
##4A5FD41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a5fd4;
/* rgb */ color: rgb(74, 95, 212);
/* oklch */ color: oklch(53.5% 0.181 271.3);
Tailwind
colors: {
  custom: {
    50: '#8b8ce2',
    500: '#4a5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fd4;
$custom-light: #8b8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fd4",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 230.87,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.18055,
    "h": 271.3
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

primary
#4A5FD4
secondary
#D9D1A0
accent
#CC43E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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