#4A4E9D#4A4E9D

#4A4E9D is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.126 H 278.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4A4E9D
RGBrgb(74, 78, 157)
HSLhsl(237, 36%, 45%)
HSVhsv(237, 53%, 62%)
CMYKcmyk(52.9%, 50.3%, 0%, 38.4%)
CIE-LABlab(36.63, 21.40, -43.72)
CIE-LCHlch(36.63, 48.67, 296.08°)
OKLaboklab(46.2% 0.0177 -0.1246)
OKLCHoklch(46.2% 0.126 278.1)
XYZxyz(11.6323, 9.3382, 33.0813)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E9D #9D994A
analogous
#4A789D #4A4E9D #6F4A9D
triadic
#4A4E9D #9D4A4E #4E9D4A
tetradic
#4A4E9D #9D4A78 #9D994A #4A9D6F
square
#4A4E9D #9D4A78 #9D994A #4A9D6F
split-complementary
#4A4E9D #9D6F4A #789D4A
monochromatic
#23254A #363973 #4A4E9D #6B6FB9 #9597CD

Accessibility & contrast

On white

7.32
#4A4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4A4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E9D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E9D#FFFFFF#000000##FFFFFF
##4A4E9D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA0
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#275F6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a4e9d;
/* rgb */ color: rgb(74, 78, 157);
/* oklch */ color: oklch(46.2% 0.126 278.1);
Tailwind
colors: {
  custom: {
    50: '#837fba',
    500: '#4a4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e9d;
$custom-light: #837fba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e9d",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 237.108,
    "s": 35.931,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46203,
    "c": 0.12586,
    "h": 278.1
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#4A4E9D
secondary
#B9B78A
accent
#C75CCC
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4A4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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