#4F429F#4F429F

#4F429F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.145 H 285.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4F429F
RGBrgb(79, 66, 159)
HSLhsl(248, 41%, 44%)
HSVhsv(248, 58%, 62%)
CMYKcmyk(50.3%, 58.5%, 0%, 37.6%)
CIE-LABlab(34.11, 30.80, -48.95)
CIE-LCHlch(34.11, 57.83, 302.17°)
OKLaboklab(44.47% 0.0381 -0.1399)
OKLCHoklch(44.47% 0.145 285.2)
XYZxyz(11.4288, 8.0613, 33.7480)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F429F #929F42
analogous
#42649F #4F429F #7E429F
triadic
#4F429F #9F4F42 #429F4F
tetradic
#4F429F #9F4264 #929F42 #429F7E
square
#4F429F #9F4264 #929F42 #429F7E
split-complementary
#4F429F #9F7E42 #649F42
monochromatic
#241E49 #3A3074 #4F429F #6E61BD #958CCF

Accessibility & contrast

On white

8.04
#4F429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4F429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F429F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F429F#FFFFFF#000000##FFFFFF
##4F429F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#32576A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f429f;
/* rgb */ color: rgb(79, 66, 159);
/* oklch */ color: oklch(44.5% 0.145 285.2);
Tailwind
colors: {
  custom: {
    50: '#8777bc',
    500: '#4f429f',
    950: '#000000',
  },
}
SCSS
$custom: #4f429f;
$custom-light: #8777bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f429f",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 248.387,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4447,
    "c": 0.14504,
    "h": 285.2
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#4F429F
secondary
#B3BA82
accent
#D157C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F429F

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

Preview Lab → · Contrast checker → · Palette generator →

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