#4F489D#4F489D

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

Color values

HEX#4F489D
RGBrgb(79, 72, 157)
HSLhsl(245, 37%, 45%)
HSVhsv(245, 54%, 62%)
CMYKcmyk(49.7%, 54.1%, 0%, 38.4%)
CIE-LABlab(35.46, 26.39, -45.57)
CIE-LCHlch(35.46, 52.66, 300.07°)
OKLaboklab(45.43% 0.031 -0.13)
OKLCHoklch(45.43% 0.134 283.4)
XYZxyz(11.6258, 8.7307, 32.9644)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F489D #969D48
analogous
#486C9D #4F489D #79489D
triadic
#4F489D #9D4F48 #489D4F
tetradic
#4F489D #9D486C #969D48 #489D79
square
#4F489D #9D486C #969D48 #489D79
split-complementary
#4F489D #9D7948 #6C9D48
monochromatic
#252249 #3A3573 #4F489D #6F68BA #9792CD

Accessibility & contrast

On white

7.65
#4F489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4F489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F489D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F489D#FFFFFF#000000##FFFFFF
##4F489D1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#15519B
Tritanopia (blue-blind)
#335B6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f489d;
/* rgb */ color: rgb(79, 72, 157);
/* oklch */ color: oklch(45.4% 0.134 283.4);
Tailwind
colors: {
  custom: {
    50: '#867bba',
    500: '#4f489d',
    950: '#000000',
  },
}
SCSS
$custom: #4f489d;
$custom-light: #867bba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f489d",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 244.941,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.13362,
    "h": 283.4
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#4F489D
secondary
#B5B988
accent
#CD5BC4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4F489D

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

Preview Lab → · Contrast checker → · Palette generator →

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