#4F409D#4F409D

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

Color values

HEX#4F409D
RGBrgb(79, 64, 157)
HSLhsl(250, 42%, 43%)
HSVhsv(250, 59%, 62%)
CMYKcmyk(49.7%, 59.2%, 0%, 38.4%)
CIE-LABlab(33.48, 31.41, -48.76)
CIE-LCHlch(33.48, 58.00, 302.79°)
OKLaboklab(43.96% 0.0404 -0.1394)
OKLCHoklch(43.96% 0.145 286.2)
XYZxyz(11.1419, 7.7629, 32.8031)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F409D #8E9D40
analogous
#40609D #4F409D #7D409D
triadic
#4F409D #9D4F40 #409D4F
tetradic
#4F409D #9D4060 #8E9D40 #409D7D
square
#4F409D #9D4060 #8E9D40 #409D7D
split-complementary
#4F409D #9D7D40 #609D40
monochromatic
#231D46 #392E72 #4F409D #6D5DBD #9489CF

Accessibility & contrast

On white

8.23
#4F409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F409D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F409D#FFFFFF#000000##FFFFFF
##4F409D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#345568
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f409d;
/* rgb */ color: rgb(79, 64, 157);
/* oklch */ color: oklch(44.0% 0.145 286.2);
Tailwind
colors: {
  custom: {
    50: '#8775bb',
    500: '#4f409d',
    950: '#000000',
  },
}
SCSS
$custom: #4f409d;
$custom-light: #8775bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f409d",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 249.677,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43962,
    "c": 0.14513,
    "h": 286.2
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#4F409D
secondary
#B0B97F
accent
#D256BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F409D

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

Preview Lab → · Contrast checker → · Palette generator →

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