#4F489C#4F489C

#4F489C is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.132 H 283.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4F489C
RGBrgb(79, 72, 156)
HSLhsl(245, 37%, 45%)
HSVhsv(245, 54%, 61%)
CMYKcmyk(49.4%, 53.8%, 0%, 38.8%)
CIE-LABlab(35.39, 26.07, -45.07)
CIE-LCHlch(35.39, 52.07, 300.04°)
OKLaboklab(45.36% 0.031 -0.1285)
OKLCHoklch(45.36% 0.132 283.6)
XYZxyz(11.5408, 8.6967, 32.5166)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F489C #959C48
analogous
#486B9C #4F489C #79489C
triadic
#4F489C #9C4F48 #489C4F
tetradic
#4F489C #9C486B #959C48 #489C79
square
#4F489C #9C486B #959C48 #489C79
split-complementary
#4F489C #9C7948 #6B9C48
monochromatic
#252148 #3A3572 #4F489C #6F68B9 #9792CD

Accessibility & contrast

On white

7.67
#4F489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4F489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F489C
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F489C#FFFFFF#000000##FFFFFF
##4F489C1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569F
Deuteranopia (green-blind)
#17509A
Tritanopia (blue-blind)
#345A6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f489c;
/* rgb */ color: rgb(79, 72, 156);
/* oklch */ color: oklch(45.4% 0.132 283.6);
Tailwind
colors: {
  custom: {
    50: '#867bba',
    500: '#4f489c',
    950: '#000000',
  },
}
SCSS
$custom: #4f489c;
$custom-light: #867bba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f489c",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 245,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.13218,
    "h": 283.6
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#4F489C
secondary
#B4B887
accent
#CD5BC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4F489C

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

Preview Lab → · Contrast checker → · Palette generator →

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