#4F4397#4F4397

#4F4397 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.132 H 286.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4F4397
RGBrgb(79, 67, 151)
HSLhsl(249, 39%, 43%)
HSVhsv(249, 56%, 59%)
CMYKcmyk(47.7%, 55.6%, 0%, 40.8%)
CIE-LABlab(33.80, 27.66, -44.62)
CIE-LCHlch(33.80, 52.49, 301.79°)
OKLaboklab(44.06% 0.0368 -0.1272)
OKLCHoklch(44.06% 0.132 286.1)
XYZxyz(10.8159, 7.9105, 30.2291)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4397 #8B9743
analogous
#436197 #4F4397 #794397
triadic
#4F4397 #974F43 #43974F
tetradic
#4F4397 #974361 #8B9743 #439779
square
#4F4397 #974361 #8B9743 #439779
split-complementary
#4F4397 #977943 #619743
monochromatic
#231D42 #39306D #4F4397 #6C5FB8 #938ACB

Accessibility & contrast

On white

8.13
#4F4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4397
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4397#FFFFFF#000000##FFFFFF
##4F43971.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#375566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f4397;
/* rgb */ color: rgb(79, 67, 151);
/* oklch */ color: oklch(44.1% 0.132 286.1);
Tailwind
colors: {
  custom: {
    50: '#8577b6',
    500: '#4f4397',
    950: '#000000',
  },
}
SCSS
$custom: #4f4397;
$custom-light: #8577b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4397",
  "rgb": {
    "r": 79,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 248.571,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44058,
    "c": 0.13242,
    "h": 286.1
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#4F4397
secondary
#AEB680
accent
#CE59BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4F4397

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

Preview Lab → · Contrast checker → · Palette generator →

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