#4A4E8D#4A4E8D

#4A4E8D is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.1% C 0.102 H 278.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4A4E8D
RGBrgb(74, 78, 141)
HSLhsl(236, 31%, 42%)
HSVhsv(236, 48%, 55%)
CMYKcmyk(47.5%, 44.7%, 0%, 44.7%)
CIE-LABlab(35.65, 16.17, -35.59)
CIE-LCHlch(35.65, 39.09, 294.44°)
OKLaboklab(45.15% 0.0155 -0.1008)
OKLCHoklch(45.15% 0.102 278.7)
XYZxyz(10.3547, 8.8272, 26.3523)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E8D #8D894A
analogous
#4A708D #4A4E8D #684A8D
triadic
#4A4E8D #8D4A4E #4E8D4A
tetradic
#4A4E8D #8D4A70 #8D894A #4A8D68
square
#4A4E8D #8D4A70 #8D894A #4A8D68
split-complementary
#4A4E8D #8D684A #708D4A
monochromatic
#20223D #353865 #4A4E8D #666AAF #8E91C4

Accessibility & contrast

On white

7.59
#4A4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4A4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E8D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E8D#FFFFFF#000000##FFFFFF
##4A4E8D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#30518C
Tritanopia (blue-blind)
#335B66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a4e8d;
/* rgb */ color: rgb(74, 78, 141);
/* oklch */ color: oklch(45.1% 0.102 278.7);
Tailwind
colors: {
  custom: {
    50: '#807faf',
    500: '#4a4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e8d;
$custom-light: #807faf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e8d",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 236.418,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.10194,
    "h": 278.7
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#4A4E8D
secondary
#B0AD83
accent
#C160C7
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4A4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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