#4C489F#4C489F

#4C489F is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.137 H 281.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4C489F
RGBrgb(76, 72, 159)
HSLhsl(243, 38%, 45%)
HSVhsv(243, 55%, 62%)
CMYKcmyk(52.2%, 54.7%, 0%, 37.6%)
CIE-LABlab(35.35, 26.36, -46.97)
CIE-LCHlch(35.35, 53.86, 299.30°)
OKLaboklab(45.33% 0.0273 -0.1342)
OKLCHoklch(45.33% 0.137 281.5)
XYZxyz(11.5539, 8.6738, 33.8596)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C489F #9B9F48
analogous
#486F9F #4C489F #78489F
triadic
#4C489F #9F4C48 #489F4C
tetradic
#4C489F #9F486F #9B9F48 #489F78
square
#4C489F #9F486F #9B9F48 #489F78
split-complementary
#4C489F #9F7848 #6F9F48
monochromatic
#24224B #383575 #4C489F #6D69BB #9693CE

Accessibility & contrast

On white

7.68
#4C489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C489F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C489F#FFFFFF#000000##FFFFFF
##4C489F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#0B509D
Tritanopia (blue-blind)
#2B5C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c489f;
/* rgb */ color: rgb(76, 72, 159);
/* oklch */ color: oklch(45.3% 0.137 281.5);
Tailwind
colors: {
  custom: {
    50: '#857bbc',
    500: '#4c489f',
    950: '#000000',
  },
}
SCSS
$custom: #4c489f;
$custom-light: #857bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c489f",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 242.759,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.13691,
    "h": 281.5
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#4C489F
secondary
#B8BA89
accent
#CE5AC8
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4C489F

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

Preview Lab → · Contrast checker → · Palette generator →

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