#4A5EA3#4A5EA3

#4A5EA3 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 49.9% C 0.113 H 269.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4A5EA3
RGBrgb(74, 94, 163)
HSLhsl(227, 38%, 46%)
HSVhsv(227, 55%, 64%)
CMYKcmyk(54.6%, 42.3%, 0%, 36.1%)
CIE-LABlab(41.38, 13.12, -39.71)
CIE-LCHlch(41.38, 41.82, 288.29°)
OKLaboklab(49.94% -0.0004 -0.1127)
OKLCHoklch(49.94% 0.113 269.8)
XYZxyz(13.4354, 12.1046, 36.2717)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5EA3 #A38F4A
analogous
#4A8BA3 #4A5EA3 #634AA3
triadic
#4A5EA3 #A34A5E #5EA34A
tetradic
#4A5EA3 #A34A8B #A38F4A #4AA363
square
#4A5EA3 #A34A8B #A38F4A #4AA363
split-complementary
#4A5EA3 #A3634A #8BA34A
monochromatic
#242D4F #374679 #4A5EA3 #6D7FBD #97A4D0

Accessibility & contrast

On white

6.14
#4A5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4A5EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5EA3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5EA3#FFFFFF#000000##FFFFFF
##4A5EA31.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4166A6
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#1C6D78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a5ea3;
/* rgb */ color: rgb(74, 94, 163);
/* oklch */ color: oklch(49.9% 0.113 269.8);
Tailwind
colors: {
  custom: {
    50: '#838bbe',
    500: '#4a5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ea3;
$custom-light: #838bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ea3",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 226.517,
    "s": 37.553,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.1127,
    "h": 269.8
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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