#4A5EC7#4A5EC7

#4A5EC7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.164 H 271.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4A5EC7
RGBrgb(74, 94, 199)
HSLhsl(230, 53%, 54%)
HSVhsv(230, 63%, 78%)
CMYKcmyk(62.8%, 52.8%, 0%, 22%)
CIE-LABlab(43.63, 25.42, -57.18)
CIE-LCHlch(43.63, 62.58, 293.96°)
OKLaboklab(52.37% 0.0043 -0.164)
OKLCHoklch(52.37% 0.164 271.5)
XYZxyz(17.1321, 13.5833, 55.7408)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5EC7 #C7B34A
analogous
#4A9CC7 #4A5EC7 #744AC7
triadic
#4A5EC7 #C74A5E #5EC74A
tetradic
#4A5EC7 #C74A9C #C7B34A #4AC774
square
#4A5EC7 #C74A9C #C7B34A #4AC774
split-complementary
#4A5EC7 #C7744A #9CC74A
monochromatic
#243073 #3244A2 #4A5EC7 #7988D5 #A7B1E4

Accessibility & contrast

On white

5.65
#4A5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4A5EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5EC7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5EC7#FFFFFF#000000##FFFFFF
##4A5EC71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a5ec7;
/* rgb */ color: rgb(74, 94, 199);
/* oklch */ color: oklch(52.4% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#898bd9',
    500: '#4a5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ec7;
$custom-light: #898bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ec7",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 230.4,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.16411,
    "h": 271.5
  },
  "luminance": 0.13585
}

Semantic roles & 50–950 ramp

primary
#4A5EC7
secondary
#D1C99C
accent
#C54CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4A5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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