#4F419B#4F419B

#4F419B is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.141 H 286.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4F419B
RGBrgb(79, 65, 155)
HSLhsl(249, 41%, 43%)
HSVhsv(249, 58%, 61%)
CMYKcmyk(49%, 58.1%, 0%, 39.2%)
CIE-LABlab(33.58, 30.16, -47.39)
CIE-LCHlch(33.58, 56.18, 302.48°)
OKLaboklab(43.99% 0.0393 -0.1353)
OKLCHoklch(43.99% 0.141 286.2)
XYZxyz(11.0294, 7.8089, 31.9301)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F419B #8D9B41
analogous
#41609B #4F419B #7C419B
triadic
#4F419B #9B4F41 #419B4F
tetradic
#4F419B #9B4160 #8D9B41 #419B7C
square
#4F419B #9B4160 #8D9B41 #419B7C
split-complementary
#4F419B #9B7C41 #609B41
monochromatic
#231D45 #392F70 #4F419B #6C5EBB #9489CD

Accessibility & contrast

On white

8.20
#4F419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F419B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F419B#FFFFFF#000000##FFFFFF
##4F419B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#355567
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f419b;
/* rgb */ color: rgb(79, 65, 155);
/* oklch */ color: oklch(44.0% 0.141 286.2);
Tailwind
colors: {
  custom: {
    50: '#8676b9',
    500: '#4f419b',
    950: '#000000',
  },
}
SCSS
$custom: #4f419b;
$custom-light: #8676b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f419b",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 249.333,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.14094,
    "h": 286.2
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#4F419B
secondary
#AFB880
accent
#D157BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4F419B

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

Preview Lab → · Contrast checker → · Palette generator →

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