#4C489E#4C489E

#4C489E is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.135 H 281.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4C489E
RGBrgb(76, 72, 158)
HSLhsl(243, 37%, 45%)
HSVhsv(243, 54%, 62%)
CMYKcmyk(51.9%, 54.4%, 0%, 38%)
CIE-LABlab(35.28, 26.03, -46.48)
CIE-LCHlch(35.28, 53.27, 299.25°)
OKLaboklab(45.25% 0.0273 -0.1327)
OKLCHoklch(45.25% 0.135 281.6)
XYZxyz(11.4675, 8.6392, 33.4044)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C489E #9A9E48
analogous
#486F9E #4C489E #77489E
triadic
#4C489E #9E4C48 #489E4C
tetradic
#4C489E #9E486F #9A9E48 #489E77
square
#4C489E #9E486F #9A9E48 #489E77
split-complementary
#4C489E #9E7748 #6F9E48
monochromatic
#24224A #383574 #4C489E #6C69BB #9593CE

Accessibility & contrast

On white

7.70
#4C489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4C489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C489E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C489E#FFFFFF#000000##FFFFFF
##4C489E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#0E509C
Tritanopia (blue-blind)
#2B5B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c489e;
/* rgb */ color: rgb(76, 72, 158);
/* oklch */ color: oklch(45.3% 0.135 281.6);
Tailwind
colors: {
  custom: {
    50: '#847bbb',
    500: '#4c489e',
    950: '#000000',
  },
}
SCSS
$custom: #4c489e;
$custom-light: #847bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c489e",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 242.791,
    "s": 37.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45252,
    "c": 0.13548,
    "h": 281.6
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#4C489E
secondary
#B7BA88
accent
#CD5AC8
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4C489E

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

Preview Lab → · Contrast checker → · Palette generator →

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