#4A5FD7#4A5FD7

#4A5FD7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.185 H 271.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4A5FD7
RGBrgb(74, 95, 215)
HSLhsl(231, 64%, 57%)
HSVhsv(231, 66%, 84%)
CMYKcmyk(65.6%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.00, 30.31, -64.14)
CIE-LCHlch(45.00, 70.95, 295.29°)
OKLaboklab(53.76% 0.0042 -0.1845)
OKLCHoklch(53.76% 0.185 271.3)
XYZxyz(19.1779, 14.5448, 66.0736)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FD7 #D7C24A
analogous
#4AA6D7 #4A5FD7 #7C4AD7
triadic
#4A5FD7 #D74A5F #5FD74A
tetradic
#4A5FD7 #D74AA6 #D7C24A #4AD77C
square
#4A5FD7 #D74AA6 #D7C24A #4AD77C
split-complementary
#4A5FD7 #D77C4A #A6D74A
monochromatic
#1E2E88 #293FBB #4A5FD7 #7C8BE2 #AEB8ED

Accessibility & contrast

On white

5.37
#4A5FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4A5FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FD7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FD7#FFFFFF#000000##FFFFFF
##4A5FD71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a5fd7;
/* rgb */ color: rgb(74, 95, 215);
/* oklch */ color: oklch(53.8% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ce4',
    500: '#4a5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fd7;
$custom-light: #8c8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fd7",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 231.064,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.18457,
    "h": 271.3
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#4A5FD7
secondary
#DBD3A2
accent
#CE41E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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