#4F4899#4F4899

#4F4899 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.128 H 283.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4F4899
RGBrgb(79, 72, 153)
HSLhsl(245, 36%, 44%)
HSVhsv(245, 53%, 60%)
CMYKcmyk(48.4%, 52.9%, 0%, 40%)
CIE-LABlab(35.20, 25.11, -43.58)
CIE-LCHlch(35.20, 50.30, 299.95°)
OKLaboklab(45.14% 0.0308 -0.1241)
OKLCHoklch(45.14% 0.128 283.9)
XYZxyz(11.2899, 8.5964, 31.1952)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4899 #929948
analogous
#486A99 #4F4899 #784899
triadic
#4F4899 #994F48 #48994F
tetradic
#4F4899 #99486A #929948 #489978
square
#4F4899 #99486A #929948 #489978
split-complementary
#4F4899 #997848 #6A9948
monochromatic
#242146 #3A346F #4F4899 #6E67B7 #9590CB

Accessibility & contrast

On white

7.72
#4F4899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4F4899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4899
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4899#FFFFFF#000000##FFFFFF
##4F48991.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559C
Deuteranopia (green-blind)
#1C5097
Tritanopia (blue-blind)
#365A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f4899;
/* rgb */ color: rgb(79, 72, 153);
/* oklch */ color: oklch(45.1% 0.128 283.9);
Tailwind
colors: {
  custom: {
    50: '#857bb7',
    500: '#4f4899',
    950: '#000000',
  },
}
SCSS
$custom: #4f4899;
$custom-light: #857bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4899",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 245.185,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.12787,
    "h": 283.9
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F4899

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

Preview Lab → · Contrast checker → · Palette generator →

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