#4A4E8F#4A4E8F

#4A4E8F is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.3% C 0.105 H 278.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4A4E8F
RGBrgb(74, 78, 143)
HSLhsl(237, 32%, 43%)
HSVhsv(237, 48%, 56%)
CMYKcmyk(48.3%, 45.5%, 0%, 43.9%)
CIE-LABlab(35.77, 16.82, -36.62)
CIE-LCHlch(35.77, 40.30, 294.67°)
OKLaboklab(45.27% 0.0158 -0.1038)
OKLCHoklch(45.27% 0.105 278.7)
XYZxyz(10.5048, 8.8872, 27.1432)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E8F #8F8B4A
analogous
#4A708F #4A4E8F #694A8F
triadic
#4A4E8F #8F4A4E #4E8F4A
tetradic
#4A4E8F #8F4A70 #8F8B4A #4A8F69
square
#4A4E8F #8F4A70 #8F8B4A #4A8F69
split-complementary
#4A4E8F #8F694A #708F4A
monochromatic
#20223E #353867 #4A4E8F #666BB0 #8F92C5

Accessibility & contrast

On white

7.56
#4A4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4A4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E8F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E8F#FFFFFF#000000##FFFFFF
##4A4E8F1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#315C67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a4e8f;
/* rgb */ color: rgb(74, 78, 143);
/* oklch */ color: oklch(45.3% 0.105 278.7);
Tailwind
colors: {
  custom: {
    50: '#817fb0',
    500: '#4a4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e8f;
$custom-light: #817fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e8f",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 236.522,
    "s": 31.797,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.10498,
    "h": 278.7
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#4A4E8F
secondary
#B1AE84
accent
#C260C8
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4A4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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