#4A4E9B#4A4E9B

#4A4E9B is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.123 H 278.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4A4E9B
RGBrgb(74, 78, 155)
HSLhsl(237, 35%, 45%)
HSVhsv(237, 52%, 61%)
CMYKcmyk(52.3%, 49.7%, 0%, 39.2%)
CIE-LABlab(36.50, 20.74, -42.72)
CIE-LCHlch(36.50, 47.49, 295.90°)
OKLaboklab(46.07% 0.0175 -0.1217)
OKLCHoklch(46.07% 0.123 278.2)
XYZxyz(11.4630, 9.2705, 32.1894)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E9B #9B974A
analogous
#4A779B #4A4E9B #6F4A9B
triadic
#4A4E9B #9B4A4E #4E9B4A
tetradic
#4A4E9B #9B4A77 #9B974A #4A9B6F
square
#4A4E9B #9B4A77 #9B974A #4A9B6F
split-complementary
#4A4E9B #9B6F4A #779B4A
monochromatic
#222448 #363972 #4A4E9B #6A6EB8 #9496CC

Accessibility & contrast

On white

7.36
#4A4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4A4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E9B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E9B#FFFFFF#000000##FFFFFF
##4A4E9B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#225399
Tritanopia (blue-blind)
#285F6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a4e9b;
/* rgb */ color: rgb(74, 78, 155);
/* oklch */ color: oklch(46.1% 0.123 278.2);
Tailwind
colors: {
  custom: {
    50: '#827fb9',
    500: '#4a4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e9b;
$custom-light: #827fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e9b",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 237.037,
    "s": 35.371,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.12292,
    "h": 278.2
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#4A4E9B
secondary
#B8B689
accent
#C65CCB
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4A4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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