#4F4897#4F4897

#4F4897 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.125 H 284.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4F4897
RGBrgb(79, 72, 151)
HSLhsl(245, 35%, 44%)
HSVhsv(245, 52%, 59%)
CMYKcmyk(47.7%, 52.3%, 0%, 40.8%)
CIE-LABlab(35.06, 24.48, -42.58)
CIE-LCHlch(35.06, 49.12, 299.90°)
OKLaboklab(45.01% 0.0307 -0.1212)
OKLCHoklch(45.01% 0.125 284.2)
XYZxyz(11.1261, 8.5308, 30.3325)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4897 #909748
analogous
#486897 #4F4897 #764897
triadic
#4F4897 #974F48 #48974F
tetradic
#4F4897 #974868 #909748 #489776
square
#4F4897 #974868 #909748 #489776
split-complementary
#4F4897 #977648 #689748
monochromatic
#242044 #39346E #4F4897 #6D66B6 #9590CA

Accessibility & contrast

On white

7.76
#4F4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4F4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4897
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4897#FFFFFF#000000##FFFFFF
##4F48971.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#1F5095
Tritanopia (blue-blind)
#375968
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f4897;
/* rgb */ color: rgb(79, 72, 151);
/* oklch */ color: oklch(45.0% 0.125 284.2);
Tailwind
colors: {
  custom: {
    50: '#857bb6',
    500: '#4f4897',
    950: '#000000',
  },
}
SCSS
$custom: #4f4897;
$custom-light: #857bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4897",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 245.316,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.12499,
    "h": 284.2
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#4F4897
secondary
#B1B685
accent
#CB5CC2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4F4897

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

Preview Lab → · Contrast checker → · Palette generator →

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