#4F489A#4F489A

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

Color values

HEX#4F489A
RGBrgb(79, 72, 154)
HSLhsl(245, 36%, 44%)
HSVhsv(245, 53%, 60%)
CMYKcmyk(48.7%, 53.2%, 0%, 39.6%)
CIE-LABlab(35.26, 25.43, -44.08)
CIE-LCHlch(35.26, 50.89, 299.98°)
OKLaboklab(45.21% 0.0309 -0.1256)
OKLCHoklch(45.21% 0.129 283.8)
XYZxyz(11.3728, 8.6295, 31.6320)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F489A #939A48
analogous
#486A9A #4F489A #78489A
triadic
#4F489A #9A4F48 #489A4F
tetradic
#4F489A #9A486A #939A48 #489A78
square
#4F489A #9A486A #939A48 #489A78
split-complementary
#4F489A #9A7848 #6A9A48
monochromatic
#242147 #3A3570 #4F489A #6E67B8 #9691CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F489A#FFFFFF#000000##FFFFFF
##4F489A1.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)
#1F569D
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#355A6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f489a;
/* rgb */ color: rgb(79, 72, 154);
/* oklch */ color: oklch(45.2% 0.129 283.8);
Tailwind
colors: {
  custom: {
    50: '#867bb8',
    500: '#4f489a',
    950: '#000000',
  },
}
SCSS
$custom: #4f489a;
$custom-light: #867bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f489a",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 245.122,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45214,
    "c": 0.12932,
    "h": 283.8
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#4F489A
secondary
#B3B786
accent
#CC5CC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4F489A

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

Preview Lab → · Contrast checker → · Palette generator →

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