#4B489F#4B489F

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

Color values

HEX#4B489F
RGBrgb(75, 72, 159)
HSLhsl(242, 38%, 45%)
HSVhsv(242, 55%, 62%)
CMYKcmyk(52.8%, 54.7%, 0%, 37.6%)
CIE-LABlab(35.27, 26.14, -47.10)
CIE-LCHlch(35.27, 53.87, 299.03°)
OKLaboklab(45.25% 0.0261 -0.1346)
OKLCHoklch(45.25% 0.137 281)
XYZxyz(11.4751, 8.6331, 33.8559)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B489F #9C9F48
analogous
#48709F #4B489F #76489F
triadic
#4B489F #9F4B48 #489F4B
tetradic
#4B489F #9F4870 #9C9F48 #489F76
square
#4B489F #9F4870 #9C9F48 #489F76
split-complementary
#4B489F #9F7648 #709F48
monochromatic
#23224B #373575 #4B489F #6C69BB #9593CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B489F#FFFFFF#000000##FFFFFF
##4B489F1.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)
#1656A2
Deuteranopia (green-blind)
#09509D
Tritanopia (blue-blind)
#285C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b489f;
/* rgb */ color: rgb(75, 72, 159);
/* oklch */ color: oklch(45.2% 0.137 281.0);
Tailwind
colors: {
  custom: {
    50: '#847bbc',
    500: '#4b489f',
    950: '#000000',
  },
}
SCSS
$custom: #4b489f;
$custom-light: #847bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b489f",
  "rgb": {
    "r": 75,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 242.069,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.13708,
    "h": 281
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B489F

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

Preview Lab → · Contrast checker → · Palette generator →

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