#4A5DC7#4A5DC7

#4A5DC7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.165 H 271.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4A5DC7
RGBrgb(74, 93, 199)
HSLhsl(231, 53%, 54%)
HSVhsv(231, 63%, 78%)
CMYKcmyk(62.8%, 53.3%, 0%, 22%)
CIE-LABlab(43.37, 26.05, -57.60)
CIE-LCHlch(43.37, 63.22, 294.33°)
OKLaboklab(52.18% 0.0052 -0.1653)
OKLCHoklch(52.18% 0.165 271.8)
XYZxyz(17.0437, 13.4066, 55.7113)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5DC7 #C7B44A
analogous
#4A9BC7 #4A5DC7 #754AC7
triadic
#4A5DC7 #C74A5D #5DC74A
tetradic
#4A5DC7 #C74A9B #C7B44A #4AC775
square
#4A5DC7 #C74A9B #C7B44A #4AC775
split-complementary
#4A5DC7 #C7754A #9BC74A
monochromatic
#243073 #3243A2 #4A5DC7 #7987D5 #A7B1E4

Accessibility & contrast

On white

5.70
#4A5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4A5DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5DC7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5DC7#FFFFFF#000000##FFFFFF
##4A5DC71.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176CCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a5dc7;
/* rgb */ color: rgb(74, 93, 199);
/* oklch */ color: oklch(52.2% 0.165 271.8);
Tailwind
colors: {
  custom: {
    50: '#898ad9',
    500: '#4a5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4a5dc7;
$custom-light: #898ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5dc7",
  "rgb": {
    "r": 74,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 230.88,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.16538,
    "h": 271.8
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

primary
#4A5DC7
secondary
#D1C99C
accent
#C64CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4A5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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