#4A5EA5#4A5EA5

#4A5EA5 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.1% C 0.116 H 270.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4A5EA5
RGBrgb(74, 94, 165)
HSLhsl(227, 38%, 47%)
HSVhsv(227, 55%, 65%)
CMYKcmyk(55.2%, 43%, 0%, 35.3%)
CIE-LABlab(41.50, 13.79, -40.71)
CIE-LCHlch(41.50, 42.99, 288.72°)
OKLaboklab(50.06% 0 -0.1156)
OKLCHoklch(50.06% 0.116 270)
XYZxyz(13.6160, 12.1769, 37.2229)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5EA5 #A5914A
analogous
#4A8CA5 #4A5EA5 #644AA5
triadic
#4A5EA5 #A54A5E #5EA54A
tetradic
#4A5EA5 #A54A8C #A5914A #4AA564
square
#4A5EA5 #A54A8C #A5914A #4AA564
split-complementary
#4A5EA5 #A5644A #8CA54A
monochromatic
#242E50 #37467B #4A5EA5 #6E80BE #98A5D1

Accessibility & contrast

On white

6.11
#4A5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4A5EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5EA5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5EA5#FFFFFF#000000##FFFFFF
##4A5EA51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#1A6D79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a5ea5;
/* rgb */ color: rgb(74, 94, 165);
/* oklch */ color: oklch(50.1% 0.116 270.0);
Tailwind
colors: {
  custom: {
    50: '#838bc0',
    500: '#4a5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ea5;
$custom-light: #838bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ea5",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 226.813,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50063,
    "c": 0.11565,
    "h": 270
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#4A5EA5
secondary
#BDB38E
accent
#B45ACE
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4A5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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