#4F4697#4F4697

#4F4697 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.128 H 285.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4F4697
RGBrgb(79, 70, 151)
HSLhsl(247, 37%, 43%)
HSVhsv(247, 54%, 59%)
CMYKcmyk(47.7%, 53.6%, 0%, 40.8%)
CIE-LABlab(34.55, 25.76, -43.40)
CIE-LCHlch(34.55, 50.47, 300.69°)
OKLaboklab(44.62% 0.0331 -0.1236)
OKLCHoklch(44.62% 0.128 285)
XYZxyz(10.9989, 8.2765, 30.2901)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4697 #8E9746
analogous
#466597 #4F4697 #774697
triadic
#4F4697 #974F46 #46974F
tetradic
#4F4697 #974665 #8E9746 #469777
square
#4F4697 #974665 #8E9746 #469777
split-complementary
#4F4697 #977746 #659746
monochromatic
#231F43 #39336D #4F4697 #6D63B7 #948DCA

Accessibility & contrast

On white

7.91
#4F4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4F4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4697
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4697#FFFFFF#000000##FFFFFF
##4F46971.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#1B4F95
Tritanopia (blue-blind)
#375867
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f4697;
/* rgb */ color: rgb(79, 70, 151);
/* oklch */ color: oklch(44.6% 0.128 285.0);
Tailwind
colors: {
  custom: {
    50: '#8579b6',
    500: '#4f4697',
    950: '#000000',
  },
}
SCSS
$custom: #4f4697;
$custom-light: #8579b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4697",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 246.667,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.12797,
    "h": 285
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#4F4697
secondary
#B0B683
accent
#CD5BC0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4F4697

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

Preview Lab → · Contrast checker → · Palette generator →

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