#4F459E#4F459E

#4F459E is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.139 H 284.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4F459E
RGBrgb(79, 69, 158)
HSLhsl(247, 39%, 45%)
HSVhsv(247, 56%, 62%)
CMYKcmyk(50%, 56.3%, 0%, 38%)
CIE-LABlab(34.78, 28.60, -47.28)
CIE-LCHlch(34.78, 55.25, 301.17°)
OKLaboklab(44.94% 0.0346 -0.135)
OKLCHoklch(44.94% 0.139 284.4)
XYZxyz(11.5223, 8.3866, 33.3528)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F459E #949E45
analogous
#45679E #4F459E #7C459E
triadic
#4F459E #9E4F45 #459E4F
tetradic
#4F459E #9E4567 #949E45 #459E7C
square
#4F459E #9E4567 #949E45 #459E7C
split-complementary
#4F459E #9E7C45 #679E45
monochromatic
#242049 #3A3273 #4F459E #6E65BC #968FCE

Accessibility & contrast

On white

7.84
#4F459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4F459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F459E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F459E#FFFFFF#000000##FFFFFF
##4F459E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E54A1
Deuteranopia (green-blind)
#074F9C
Tritanopia (blue-blind)
#32596A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f459e;
/* rgb */ color: rgb(79, 69, 158);
/* oklch */ color: oklch(44.9% 0.139 284.4);
Tailwind
colors: {
  custom: {
    50: '#8679bb',
    500: '#4f459e',
    950: '#000000',
  },
}
SCSS
$custom: #4f459e;
$custom-light: #8679bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f459e",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 246.742,
    "s": 39.207,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.13937,
    "h": 284.4
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#4F459E
secondary
#B4BA85
accent
#CF59C2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4F459E

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

Preview Lab → · Contrast checker → · Palette generator →

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