#4A5EC5#4A5EC5

#4A5EC5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.161 H 271.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4A5EC5
RGBrgb(74, 94, 197)
HSLhsl(230, 51%, 53%)
HSVhsv(230, 62%, 77%)
CMYKcmyk(62.4%, 52.3%, 0%, 22.7%)
CIE-LABlab(43.49, 24.73, -56.25)
CIE-LCHlch(43.49, 61.44, 293.73°)
OKLaboklab(52.23% 0.0041 -0.1613)
OKLCHoklch(52.23% 0.161 271.5)
XYZxyz(16.9014, 13.4910, 54.5259)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5EC5 #C5B14A
analogous
#4A9BC5 #4A5EC5 #734AC5
triadic
#4A5EC5 #C54A5E #5EC54A
tetradic
#4A5EC5 #C54A9B #C5B14A #4AC573
square
#4A5EC5 #C54A9B #C5B14A #4AC573
split-complementary
#4A5EC5 #C5734A #9BC54A
monochromatic
#243071 #33449F #4A5EC5 #7887D4 #A7B0E3

Accessibility & contrast

On white

5.68
#4A5EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4A5EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5EC5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5EC5#FFFFFF#000000##FFFFFF
##4A5EC51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a5ec5;
/* rgb */ color: rgb(74, 94, 197);
/* oklch */ color: oklch(52.2% 0.161 271.5);
Tailwind
colors: {
  custom: {
    50: '#888bd7',
    500: '#4a5ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ec5;
$custom-light: #888bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ec5",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 230.244,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.16134,
    "h": 271.5
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#4A5EC5
secondary
#D0C79B
accent
#C44DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A5EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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