#4A489F#4A489F

#4A489F is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.137 H 280.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4A489F
RGBrgb(74, 72, 159)
HSLhsl(241, 38%, 45%)
HSVhsv(241, 55%, 62%)
CMYKcmyk(53.5%, 54.7%, 0%, 37.6%)
CIE-LABlab(35.19, 25.92, -47.23)
CIE-LCHlch(35.19, 53.88, 298.76°)
OKLaboklab(45.17% 0.0248 -0.135)
OKLCHoklch(45.17% 0.137 280.4)
XYZxyz(11.3975, 8.5931, 33.8522)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A489F #9D9F48
analogous
#48729F #4A489F #75489F
triadic
#4A489F #9F4A48 #489F4A
tetradic
#4A489F #9F4872 #9D9F48 #489F75
square
#4A489F #9F4872 #9D9F48 #489F75
split-complementary
#4A489F #9F7548 #729F48
monochromatic
#23224B #363575 #4A489F #6B69BB #9593CE

Accessibility & contrast

On white

7.72
#4A489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4A489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A489F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A489F#FFFFFF#000000##FFFFFF
##4A489F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#064F9D
Tritanopia (blue-blind)
#265C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a489f;
/* rgb */ color: rgb(74, 72, 159);
/* oklch */ color: oklch(45.2% 0.137 280.4);
Tailwind
colors: {
  custom: {
    50: '#837bbc',
    500: '#4a489f',
    950: '#000000',
  },
}
SCSS
$custom: #4a489f;
$custom-light: #837bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a489f",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 241.379,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.13726,
    "h": 280.4
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#4A489F
secondary
#B9BA89
accent
#CE5ACB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4A489F

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

Preview Lab → · Contrast checker → · Palette generator →

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