#4F429D#4F429D

#4F429D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.142 H 285.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4F429D
RGBrgb(79, 66, 157)
HSLhsl(249, 41%, 44%)
HSVhsv(249, 58%, 62%)
CMYKcmyk(49.7%, 58%, 0%, 38.4%)
CIE-LABlab(33.97, 30.17, -47.98)
CIE-LCHlch(33.97, 56.67, 302.16°)
OKLaboklab(44.32% 0.0381 -0.1371)
OKLCHoklch(44.32% 0.142 285.5)
XYZxyz(11.2567, 7.9925, 32.8413)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F429D #909D42
analogous
#42629D #4F429D #7C429D
triadic
#4F429D #9D4F42 #429D4F
tetradic
#4F429D #9D4262 #909D42 #429D7C
square
#4F429D #9D4262 #909D42 #429D7C
split-complementary
#4F429D #9D7C42 #629D42
monochromatic
#241E47 #393072 #4F429D #6D60BC #958BCE

Accessibility & contrast

On white

8.08
#4F429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4F429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F429D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F429D#FFFFFF#000000##FFFFFF
##4F429D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0152A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#335769
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f429d;
/* rgb */ color: rgb(79, 66, 157);
/* oklch */ color: oklch(44.3% 0.142 285.5);
Tailwind
colors: {
  custom: {
    50: '#8677bb',
    500: '#4f429d',
    950: '#000000',
  },
}
SCSS
$custom: #4f429d;
$custom-light: #8677bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f429d",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 248.571,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44319,
    "c": 0.14227,
    "h": 285.5
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#4F429D
secondary
#B1B982
accent
#D157BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F429D

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

Preview Lab → · Contrast checker → · Palette generator →

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