#4A5299#4A5299

#4A5299 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.114 H 276.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4A5299
RGBrgb(74, 82, 153)
HSLhsl(234, 35%, 45%)
HSVhsv(234, 52%, 60%)
CMYKcmyk(51.6%, 46.4%, 0%, 40%)
CIE-LABlab(37.46, 17.50, -39.97)
CIE-LCHlch(37.46, 43.64, 293.64°)
OKLaboklab(46.76% 0.0123 -0.1136)
OKLCHoklch(46.76% 0.114 276.2)
XYZxyz(11.5893, 9.7896, 31.4097)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5299 #99914A
analogous
#4A7A99 #4A5299 #6A4A99
triadic
#4A5299 #994A52 #52994A
tetradic
#4A5299 #994A7A #99914A #4A996A
square
#4A5299 #994A7A #99914A #4A996A
split-complementary
#4A5299 #996A4A #7A994A
monochromatic
#222647 #363C70 #4A5299 #6A71B7 #9398CB

Accessibility & contrast

On white

7.10
#4A5299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4A5299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5299
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5299#FFFFFF#000000##FFFFFF
##4A52991.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9C
Deuteranopia (green-blind)
#2C5597
Tritanopia (blue-blind)
#29616E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a5299;
/* rgb */ color: rgb(74, 82, 153);
/* oklch */ color: oklch(46.8% 0.114 276.2);
Tailwind
colors: {
  custom: {
    50: '#8282b7',
    500: '#4a5299',
    950: '#000000',
  },
}
SCSS
$custom: #4a5299;
$custom-light: #8282b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5299",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 233.924,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46755,
    "c": 0.11425,
    "h": 276.2
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#4A5299
secondary
#B7B288
accent
#C05DCB
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4A5299

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

Preview Lab → · Contrast checker → · Palette generator →

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